From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Linas Vepstas Newsgroups: gmane.lisp.guile.devel,gmane.lisp.guile.user Subject: Re: GNU Guile 1.9.6 released (alpha) Date: Tue, 15 Dec 2009 18:19:21 -0600 Message-ID: <3ae3aa420912151619v165e032agccd15552a2dbcbd5@mail.gmail.com> References: <87pr6fzur1.fsf@gnu.org> Reply-To: linasvepstas@gmail.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1260922782 785 80.91.229.12 (16 Dec 2009 00:19:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Dec 2009 00:19:42 +0000 (UTC) Cc: guile-user@gnu.org, guile-devel@gnu.org To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Dec 16 01:19:34 2009 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NKhc5-000539-Td for guile-devel@m.gmane.org; Wed, 16 Dec 2009 01:19:34 +0100 Original-Received: from localhost ([127.0.0.1]:50603 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKhc5-0003IS-M6 for guile-devel@m.gmane.org; Tue, 15 Dec 2009 19:19:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NKhc2-0003HS-A0 for guile-devel@gnu.org; Tue, 15 Dec 2009 19:19:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NKhbx-0003FZ-LV for guile-devel@gnu.org; Tue, 15 Dec 2009 19:19:29 -0500 Original-Received: from [199.232.76.173] (port=51681 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKhbx-0003FT-B6; Tue, 15 Dec 2009 19:19:25 -0500 Original-Received: from mail-iw0-f188.google.com ([209.85.223.188]:46890) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NKhbv-0007md-M3; Tue, 15 Dec 2009 19:19:23 -0500 Original-Received: by mail-iw0-f188.google.com with SMTP id 26so314291iwn.14 for ; Tue, 15 Dec 2009 16:19:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=JFGbvla1R5RbLIna403jfjoktDf9rfwZiieD5/EQlyQ=; b=slZ/SXFMVHKOexGAViIoRN9R5vSyMFiXjoHf5TPj6bhwZrqgn8TtEatja5HXwXhlA0 /B57kjuOjFf0fwO9fWd472dQpAB01ejfJeKl8TdfYYWaGoORPGEP6GDxGFN9YPNHz05W MiB3ycFEK9454LvRQIf7lb5qhjFJZNBSYkZj0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; b=vm5f10UsZL+Zb09x3exOBZXanVjWwBd3cm20t8sr6JjCvd9yg9w1FJHtoaJv8JujWM Ic3I7bqOu5rUycNrtwaVE1Bg+7jhtZ+p01e03193fEYhBWEl3aZbeL9UnQXDWMuYUqNv 7LS746dAGkezumR1ZbRdeS1FPMTAEg1D0dSeo= Original-Received: by 10.231.156.205 with SMTP id y13mr249080ibw.27.1260922761882; Tue, 15 Dec 2009 16:19:21 -0800 (PST) In-Reply-To: <87pr6fzur1.fsf@gnu.org> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:9767 gmane.lisp.guile.user:7536 Archived-At: 2009/12/15 Ludovic Court=C3=A8s : > Changes since the 1.9.5 pre-release: > =C2=A0*** Simplify representation of primitive procedures > > =C2=A0It used to be that there were something like 12 different typecodes > =C2=A0allocated to primitive procedures, each with its own calling conven= tion. > =C2=A0Now there is only one, the gsubr. This may affect user code if you = were > =C2=A0defining a procedure using scm_c_make_subr rather scm_c_make_gsubr.= The > =C2=A0solution is to switch to use scm_c_make_gsubr. This solution works = well > =C2=A0both with the old 1.8 and and with the current 1.9 branch. I have a new feature request -- it would be useful, in a variety of situati= ons, to be able to provide an opaque (void *) pointer when calling make_gsubr, and then getting that pointer back again whenever the primitive is called. I've needed this on multiple occasions. Each time, I eventually found reasonably elegant alternative solutions, but not before some fair amount of cursing, agonizing, exploring, and general pain. (each alternative solu= tion required several hundred lines of carefully documented code, because it did non-obvious things to find the needed data.) --linas