unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Neil Jerram <neil@ossau.uklinux.net>
To: Andy Wingo <wingo@pobox.com>
Cc: "Ludovic Courtès" <ludo@gnu.org>, guile-devel@gnu.org
Subject: Re: dynamic foreign function interface
Date: Thu, 28 Jan 2010 21:39:02 +0000	[thread overview]
Message-ID: <87pr4t7vux.fsf@ossau.uklinux.net> (raw)
In-Reply-To: <m3ljfktn0u.fsf@pobox.com> (Andy Wingo's message of "Wed, 27 Jan 2010 01:22:09 +0100")

Andy Wingo <wingo@pobox.com> writes:

> Wow, ok. Well yes, we did always think this was going to happen... so
> all right. I'll see what it takes, and merge when ready.

FWIW, I'm really pleased to see this so soon.  I've been musing that an
FFI should allow us to co-opt all the binding libraries out there for
other scripting languages, notably Python.  (Of course, an FFI will also
allow us to use the underlying C library directly, but I would guess
that an existing language binding library might have more regular or
more introspectable function call signatures than the underlying
library, and so it would be easier to generate Scheme-level interfaces
automatically.)

Also note that if we had a Python (for example) translator, the FFI
would make the difference between only being able to execute pure Python
code (not using any binding libraries), and being able to execute _all_
Python code.

So, great news!

     Neil




      reply	other threads:[~2010-01-28 21:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-26 22:06 dynamic foreign function interface Andy Wingo
2010-01-26 22:29 ` Ludovic Courtès
2010-01-27  0:22   ` Andy Wingo
2010-01-28 21:39     ` Neil Jerram [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=87pr4t7vux.fsf@ossau.uklinux.net \
    --to=neil@ossau.uklinux.net \
    --cc=guile-devel@gnu.org \
    --cc=ludo@gnu.org \
    --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).