Hi!<br><br><div><span class="gmail_quote">On 9/11/07, <b class="gmail_sendername">Alceste Scalas</b> <<a href="mailto:alceste@crs4.it" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">alceste@crs4.it
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
After some cleanup, testing and bugfixing (and vacations...), I've<br>prepared a draft EEP (Erlang Enhancement Proposal) and a series of<br>patches that implement the proposal. Everything is available at the<br>following URL:
<br><br> <a href="http://muvara.org/crs4/erlang/ffi" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://muvara.org/crs4/erlang/ffi</a></blockquote><div><br>This looks very interesting! <br>
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).
<br><br> When it comes to allocating memory, is the idea that the Erlang program will call malloc and free? <br>Filling buffers would be done by calling memcpy from a binary term? <br>How about returned buffers, how to convert them to Erlang binaries?
<br><br>best regards,<br>Vlad<br><br><br><br><br><br></div><br></div>