Re: WG: The (floating) address of foreign arrays (FFI talk)
Kevin Rosenberg <kevin-HJRc7zDS/[email protected]> Fri, 25 Oct 2002 05:39:28 -0600
| Newsgroups | gmane.lisp.uffi.general |
|---|---|
| Message-ID | <[email protected]> |
Hoehle, Joerg-Cyril wrote:
> [the same topic arose independently on both clisp and uffi mailing lists. I thus write to both.]
I just that I should subscribe to the clisp mail lists.
> I hope this made very clear why I claim that the limited declarative
> power of the popular Allegro construct
You have done that very well.
> That's also why there must *not* be a (WITH-LISP-ARRAY-ADDRESS (addr-var array-obj) &body) in CLISP. One can only do so in limited contexts, e.g. for calling recv() and be sure (not hope) never to GC before doing so.
That makes sense, thus your suggestions for high-level declarations.
> I'm specifically not saying that the ability to pass address of Lisp
> arrays to foreign code wouldn't be useful or speedy. But it also
> has to be reliably defined.
I like that idea.
--
Kevin Rosenberg | .''`. ** Debian GNU/Linux **
http://b9.com/debian.html | : :' : The universal
GPG signed and encrypted | `. `' Operating System
messages accepted. | `- http://www.debian.org/