<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-01-24 12:57 GMT+01:00 Esteban Lorenzano <span dir="ltr">&lt;<a href="mailto:estebanlm@gmail.com" target="_blank">estebanlm@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Hi,<br>
<br>
Recently I’ve been talking with Eliot and we came to the conclusion that FFI and Alien repositories needs to be merged.<br>
Our rational is that 1) both are different ways of doing the same (often with same primitives) and much more important 2) Alien contains the the “de facto” callback mechanism supported by the VM.<br>
Keeping them separated and treated as two different things is negative and an important source of confusion for people willing to do FFI this days.<br>
So, here is my proposal (already talked with Eliot).<br>
<br>
1) unify <a href="http://source.squeak.org/FFI" rel="noreferrer" target="_blank">http://source.squeak.org/FFI</a> and <a href="http://www.squeaksource.com/Alien" rel="noreferrer" target="_blank">http://www.squeaksource.com/Alien</a> into <a href="http://source.squeak.org/FFI" rel="noreferrer" target="_blank">http://source.squeak.org/FFI</a><br>
That means copying into FFI repo all Alien history.<br>
<br>
2) Rename Alien package into FFI-Alien (extract the Alien-Win32 category into its own package)<br>
<br>
3) Create a ConfigurationOfFFI who takes properly FFI and FFI-Alien, etc.<br>
<br>
That means also deprecate Alien project in squeaksource (which usually is just put a WARNING text in home page :P)<br>
<br>
So… if nobody has a anything against this plan, I will do it next week :)<br></blockquote><div><br></div><div>Are there differences between pharos ffi-package (FFI-Kernel) and squeak?<br></div><div>For example, the fallback implementation in <br></div><div>ExternalFunction&gt;&gt;#tryInvokeWithArguments:<br></div><div>referese to ContextPart, but it should be Context in (for Pharo only).<br><br><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
cheers!<br>
<span class=""><font color="#888888">Esteban</font></span></blockquote></div><br></div></div>