[erlang-questions] FFI for Erlang: patches and draft EEP

Martin Bjorklund <>
Wed Sep 12 09:27:53 CEST 2007


Alceste Scalas <> wrote:
> Hello,
> 
> some time ago [1] I asked for comments about extending Erlang/OTP with a
> Foreign Function Interface (FFI) --- i.e. some new BIFs for calling
> external C code, with automatic Erlang/C type translations.  The
> response was pretty good.
> 
> After some cleanup, testing and bugfixing (and vacations...), I've
> prepared a draft EEP (Erlang Enhancement Proposal) and a series of
> patches that implement the proposal.  Everything is available at the
> following URL:
> 
>         http://muvara.org/crs4/erlang/ffi
> 
> The implementation is based on OTP R11B-5, and has been tested on i386
> and x86_64 (on GNU/Linux).  A simple test suite is also available.
> 
> Comments, bug reports and patches are more than welcome.  Have fun!

Very nice work!!   Let's hope the OTP maintainers can be convinced to
have a look at this.


/martin



More information about the erlang-questions mailing list