unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Andreas Rottmann <a.rottmann@gmx.at>
To: Andy Wingo <wingo@pobox.com>
Cc: marco.maggi-ipsu@poste.it, Guile Developers <guile-devel@gnu.org>
Subject: Re: G-Wrap 1.9.13 released
Date: Thu, 29 Oct 2009 01:59:53 +0100	[thread overview]
Message-ID: <87tyxjkoae.fsf@delenn.lan> (raw)
In-Reply-To: <m3ws2fi7mv.fsf@pobox.com> (Andy Wingo's message of "Wed, 28 Oct 2009 21:30:16 +0100")

[CC'ing Marco, as this might very well be of interest to him]

Andy Wingo <wingo@pobox.com> writes:

> On a related, but unrelated note: I know you have some experience with
> Scheme FFIs. I don't, and Guile needs one. Do you have any pointers?
> Would you like to make a design?
>
It just happens that Marco Maggi and me have agreed to unify our FFI
implementations in the near future; I have `(spells foreign)'[0], and he
has an FFI in his nausicaa library collection[1]. 

I hope (and kind of expect, even :-)), that the result of this effort
will be a low-level FFI in the spirit of CL's CFFI-SYS[2], with some
documentation, and working on Ikarus, Ypsilon, Larceny, Mosh and PLT
Scheme. This layer will be rather minimimal, and not very nice for doing
hand-written glue code in, but it will suffice nicely to support
sbank[3], for example. It should provide all primitives to build more
sophisticated FFI layers on top of it.

> Or some code even? :-))
>
I think when we have some documentation out there, it should be
relatively straightforward to do an implementaton for Guile -- I could
very well imagine I will be tempted at some point to rip the guts out of
G-Wrap, and use them to build an implementation for Guile, just for the
heck of it :-). We'll see -- the above-mentioned unification hasn't
really begun yet, but I expect that there will be something to show by
the start of next year or so.

[0] http://github.com/rotty/spells/blob/master/spells/foreign.sls
[1] http://github.com/marcomaggi/nausicaa/blob/master/scheme/src/libraries/foreign/ffi.sls
[2] http://common-lisp.net/project/cffi/spec/cffi-sys-spec.html

Regards, Rotty
-- 
Andreas Rottmann -- <http://rotty.yi.org/>




      reply	other threads:[~2009-10-29  0:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-28  1:37 G-Wrap 1.9.13 released Andreas Rottmann
2009-10-28 20:30 ` Andy Wingo
2009-10-29  0:59   ` Andreas Rottmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tyxjkoae.fsf@delenn.lan \
    --to=a.rottmann@gmx.at \
    --cc=guile-devel@gnu.org \
    --cc=marco.maggi-ipsu@poste.it \
    --cc=wingo@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).