[erlang-questions] FFI for Erlang: patches and draft EEP
Tue Sep 11 15:11:37 CEST 2007
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:
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions