From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Rottmann Newsgroups: gmane.lisp.guile.devel Subject: Re: [patch] subordinate SMOBs with GOOPS superclasses Date: Sun, 09 Dec 2007 19:39:20 +0100 Message-ID: <873aubbtlz.fsf@gkar.rotty.yi.org> References: <8763zc3htd.fsf@pobox.com> <87prxfzsb2.fsf@chbouib.org> 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 1197225621 14462 80.91.229.12 (9 Dec 2007 18:40:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Dec 2007 18:40:21 +0000 (UTC) Cc: guile-devel@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Dec 09 19:40:29 2007 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 1J1R4l-0002Fe-R9 for guile-devel@m.gmane.org; Sun, 09 Dec 2007 19:40:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J1R4U-0002R3-0L for guile-devel@m.gmane.org; Sun, 09 Dec 2007 13:40:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J1R3y-0001yw-4s for guile-devel@gnu.org; Sun, 09 Dec 2007 13:39:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J1R3w-0001yA-WD for guile-devel@gnu.org; Sun, 09 Dec 2007 13:39:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J1R3w-0001xu-PL for guile-devel@gnu.org; Sun, 09 Dec 2007 13:39:36 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1J1R3w-0001Eg-5I for guile-devel@gnu.org; Sun, 09 Dec 2007 13:39:36 -0500 Original-Received: (qmail invoked by alias); 09 Dec 2007 18:39:34 -0000 Original-Received: from chello084114192192.1.15.vie.surfer.at (EHLO localhost.localdomain) [84.114.192.192] by mail.gmx.net (mp050) with SMTP; 09 Dec 2007 19:39:34 +0100 X-Authenticated: #3102804 X-Provags-ID: V01U2FsdGVkX1/3zqc7/YX3Yoc+oMAHDxKnveono4tLS+39Sd5ZAS Q/F0kBWzJzkrOx Original-Received: from rotty by localhost.localdomain with local (Exim 4.68) (envelope-from ) id 1J1R3g-000444-Ql; Sun, 09 Dec 2007 19:39:29 +0100 In-Reply-To: <87prxfzsb2.fsf@chbouib.org> ("Ludovic =?utf-8?Q?Court=C3=A8s?= =?utf-8?Q?=22's?= message of "Sun\, 09 Dec 2007 18\:33\:37 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: a.rottmann@gmx.at X-SA-Exim-Version: 4.2.1 (built Tue, 21 Aug 2007 23:39:36 +0000) X-SA-Exim-Scanned: Yes (on localhost.localdomain) X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:6923 Archived-At: ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Hi, > > Andy Wingo writes: > >> On Tue 27 Nov 2007 07:57, "Marco Maggi" writ= es: > >> +A special smob type is implemented to overcome the 255 limit on the >> +number of smob types. Its procedures dispatch the call to procedures >> +referenced by a subsmob descriptor. >> >> Sounds really byzantine. The tagging system has that aspect to it, yes, >> but perhaps there's a point where the complexity is too much. > > That was my reaction too. > > I don't have any clear idea on how to solve it in the short term. In > the longer term, my feeling is that we could have a Scheme-level FFI (in > the spirit of what Jon Wilson posted some time ago [0]) that would allow > the creation of subrs (aka. "primitive procedures") at run-time through > a simple API. > You should probably also have a look at the Scheme-Level FFI of PLT Scheme[1], and my reimplementation for Scheme 48[2]. [...] > [0] http://article.gmane.org/gmane.lisp.guile.user/6062 [1] http://download.plt-scheme.org/doc/371/html/foreign/ http://repository.readscheme.org/ftp/papers/sw2004/barzilay.pdf [2] http://download.gna.org/spells/darcs/s42/ scheme/ffi, c/ffi42.[hc] HTH, Rotty --=20 Andreas Rottmann | Rotty@ICQ | 118634484@ICQ | a.rottmann@gmx.= at http://rotty.uttx.net | GnuPG Key: http://rotty.uttx.net/gpg.asc Fingerprint | C38A 39C5 16D7 B69F 33A3 6993 22C8 27F7 35A9 92= E7 v2sw7MYChw5pr5OFma7u7Lw2m5g/l7Di6e6t5BSb7en6g3/5HZa2Xs6MSr1/2p7 hackerkey.c= om Any technology not indistinguishable from magic is insufficiently advanced. -- Terry Pratchett _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel