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

Vlad Dumitrescu vladdu55@REDACTED
Tue Sep 11 15:11:37 CEST 2007


Hi!

On 9/11/07, Alceste Scalas <alceste@REDACTED> wrote:
>
> 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


This looks very interesting!
I think there are some things that would need to be clarified (possibly they
are in the code, but from a brief review I couldn't find that).

When it comes to allocating memory, is the idea that the Erlang program will
call malloc and free?
Filling buffers would be done by calling memcpy from a binary term?
How about returned buffers, how to convert them to Erlang binaries?

best regards,
Vlad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070911/6ac3af6a/attachment.htm>


More information about the erlang-questions mailing list