<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 24 Jan 2016, at 13:38, Luc Fabresse &lt;<a href="mailto:luc.fabresse@gmail.com" class="">luc.fabresse@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hi Esteban,</div><div class=""><br class=""></div><div class="">Question: why not "just" introducing Alien's callbacks in FFI and rename it (e.g. FFI-callbacks)?<br class=""></div><div class=""><br class=""></div><div class="">That would be simpler, no?</div></div></div></blockquote><div><br class=""></div><div>no is not :)</div><div>Callbacks works with Aliens, who are different than regular ExternalAddresses, then you need Aliens i.</div><div>In the future, that could be a project (to modify callback part of plugin)… but for now faster approach is what I’m describing :)</div><div><br class=""></div><div>cheers,</div><div>Esteban</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="">- no Alien's history in FFI repo</div><div class="">- not the full Alien's code (callout mechanism, ...) in FFI codebase</div></div></div></blockquote><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="">- ...</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""><div class="gmail_extra"><div class=""><div class="gmail_signature">#Luc<br class=""></div></div>
<br class=""><div class="gmail_quote">2016-01-24 12:57 GMT+01:00 Esteban Lorenzano <span dir="ltr" class="">&lt;<a href="mailto:estebanlm@gmail.com" target="_blank" class="">estebanlm@gmail.com</a>&gt;</span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br class="">
Hi,<br class="">
<br class="">
Recently I’ve been talking with Eliot and we came to the conclusion that FFI and Alien repositories needs to be merged.<br class="">
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 class="">
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 class="">
So, here is my proposal (already talked with Eliot).<br class="">
<br class="">
1) unify <a href="http://source.squeak.org/FFI" rel="noreferrer" target="_blank" class="">http://source.squeak.org/FFI</a> and <a href="http://www.squeaksource.com/Alien" rel="noreferrer" target="_blank" class="">http://www.squeaksource.com/Alien</a> into <a href="http://source.squeak.org/FFI" rel="noreferrer" target="_blank" class="">http://source.squeak.org/FFI</a><br class="">
That means copying into FFI repo all Alien history.<br class="">
<br class="">
2) Rename Alien package into FFI-Alien (extract the Alien-Win32 category into its own package)<br class="">
<br class="">
3) Create a ConfigurationOfFFI who takes properly FFI and FFI-Alien, etc.<br class="">
<br class="">
That means also deprecate Alien project in squeaksource (which usually is just put a WARNING text in home page :P)<br class="">
<br class="">
So… if nobody has a anything against this plan, I will do it next week :)<br class="">
<br class="">
cheers!<br class="">
<span class="HOEnZb"><font color="#888888" class="">Esteban</font></span></blockquote></div><br class=""></div></div></div>
</div></blockquote></div><br class=""></body></html>