<div dir="ltr"><br><div class="gmail_extra"><div><div class="gmail_signature"><div dir="ltr"><div><div><br></div></div></div></div></div>
<br><div class="gmail_quote">On Sun, Jan 24, 2016 at 5:10 AM,  <span dir="ltr">&lt;<a href="mailto:vm-dev-request@lists.squeakfoundation.org" target="_blank">vm-dev-request@lists.squeakfoundation.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Vm-dev mailing list submissions to<br>
        <a href="mailto:vm-dev@lists.squeakfoundation.org">vm-dev@lists.squeakfoundation.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.squeakfoundation.org/mailman/listinfo/vm-dev" rel="noreferrer" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/vm-dev</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:vm-dev-request@lists.squeakfoundation.org">vm-dev-request@lists.squeakfoundation.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:vm-dev-owner@lists.squeakfoundation.org">vm-dev-owner@lists.squeakfoundation.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of Vm-dev digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Merging FFI and Alien (Esteban Lorenzano)<br>
   2. Re: Merging FFI and Alien (Luc Fabresse)<br>
   3. Re: Merging FFI and Alien (Esteban Lorenzano)<br>
   4. Re: Merging FFI and Alien (Luc Fabresse)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 24 Jan 2016 12:57:36 +0100<br>
From: Esteban Lorenzano &lt;<a href="mailto:estebanlm@gmail.com">estebanlm@gmail.com</a>&gt;<br>
Subject: [Vm-dev] Merging FFI and Alien<br>
To: Squeak Virtual Machine Development Discussion<br>
        &lt;<a href="mailto:vm-dev@lists.squeakfoundation.org">vm-dev@lists.squeakfoundation.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:52303C25-8296-4871-A81B-A770C72428CC@gmail.com">52303C25-8296-4871-A81B-A770C72428CC@gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=utf-8<br>
<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>
<br>
cheers!<br>
Esteban<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sun, 24 Jan 2016 13:38:55 +0100<br>
From: Luc Fabresse &lt;<a href="mailto:luc.fabresse@gmail.com">luc.fabresse@gmail.com</a>&gt;<br>
Subject: Re: [Vm-dev] Merging FFI and Alien<br>
To: Squeak Virtual Machine Development Discussion<br>
        &lt;<a href="mailto:vm-dev@lists.squeakfoundation.org">vm-dev@lists.squeakfoundation.org</a>&gt;<br>
Message-ID:<br>
        &lt;CAAR4Pr6djsskF5jr77Ntgf=UM0CjGv8v7t+hwvYik=<a href="mailto:eXuUMQZQ@mail.gmail.com">eXuUMQZQ@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
Hi Esteban,<br>
<br>
Question: why not &quot;just&quot; introducing Alien&#39;s callbacks in FFI and rename it<br>
(e.g. FFI-callbacks)?<br>
<br>
That would be simpler, no?<br>
- no Alien&#39;s history in FFI repo<br>
- not the full Alien&#39;s code (callout mechanism, ...) in FFI codebase<br>
- ...<br>
<br>
Cheers,<br>
<br>
#Luc<br>
<br>
2016-01-24 12:57 GMT+01:00 Esteban Lorenzano &lt;<a href="mailto:estebanlm@gmail.com">estebanlm@gmail.com</a>&gt;:<br>
<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; Recently I’ve been talking with Eliot and we came to the conclusion that<br>
&gt; FFI and Alien repositories needs to be merged.<br>
&gt; Our rational is that 1) both are different ways of doing the same (often<br>
&gt; with same primitives) and much more important 2) Alien contains the the “de<br>
&gt; facto” callback mechanism supported by the VM.<br>
&gt; Keeping them separated and treated as two different things is negative and<br>
&gt; an important source of confusion for people willing to do FFI this days.<br>
&gt; So, here is my proposal (already talked with Eliot).<br>
&gt;<br>
&gt; 1) unify <a href="http://source.squeak.org/FFI" rel="noreferrer" target="_blank">http://source.squeak.org/FFI</a> and<br>
&gt; <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>
&gt; That means copying into FFI repo all Alien history.<br>
&gt;<br>
&gt; 2) Rename Alien package into FFI-Alien (extract the Alien-Win32 category<br>
&gt; into its own package)<br>
&gt;<br>
&gt; 3) Create a ConfigurationOfFFI who takes properly FFI and FFI-Alien, etc.<br>
&gt;<br>
&gt; That means also deprecate Alien project in squeaksource (which usually is<br>
&gt; just put a WARNING text in home page :P)<br>
&gt;<br>
&gt; So… if nobody has a anything against this plan, I will do it next week :)<br>
&gt;<br>
&gt; cheers!<br>
&gt; Esteban<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160124/d5b5dac0/attachment-0001.htm" rel="noreferrer" target="_blank">http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160124/d5b5dac0/attachment-0001.htm</a><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Sun, 24 Jan 2016 13:56:52 +0100<br>
From: Esteban Lorenzano &lt;<a href="mailto:estebanlm@gmail.com">estebanlm@gmail.com</a>&gt;<br>
Subject: Re: [Vm-dev] Merging FFI and Alien<br>
To: Squeak Virtual Machine Development Discussion<br>
        &lt;<a href="mailto:vm-dev@lists.squeakfoundation.org">vm-dev@lists.squeakfoundation.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:E57B19B7-FC8D-4034-9B70-FC25187D20E7@gmail.com">E57B19B7-FC8D-4034-9B70-FC25187D20E7@gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
<br>
&gt; On 24 Jan 2016, at 13:38, Luc Fabresse &lt;<a href="mailto:luc.fabresse@gmail.com">luc.fabresse@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Esteban,<br>
&gt;<br>
&gt; Question: why not &quot;just&quot; introducing Alien&#39;s callbacks in FFI and rename it (e.g. FFI-callbacks)?<br>
&gt;<br>
&gt; That would be simpler, no?<br>
<br>
no is not :)<br>
Callbacks works with Aliens, who are different than regular ExternalAddresses, then you need Aliens i.<br>
In the future, that could be a project (to modify callback part of plugin)… but for now faster approach is what I’m describing :)<br>
<br>
cheers,<br>
Esteban<br>
<br>
<br>
&gt; - no Alien&#39;s history in FFI repo<br>
&gt; - not the full Alien&#39;s code (callout mechanism, ...) in FFI codebase<br>
&gt; - ...<br>
&gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt; #Luc<br>
&gt;<br>
&gt; 2016-01-24 12:57 GMT+01:00 Esteban Lorenzano &lt;<a href="mailto:estebanlm@gmail.com">estebanlm@gmail.com</a> &lt;mailto:<a href="mailto:estebanlm@gmail.com">estebanlm@gmail.com</a>&gt;&gt;:<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; Recently I’ve been talking with Eliot and we came to the conclusion that FFI and Alien repositories needs to be merged.<br>
&gt; 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>
&gt; 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>
&gt; So, here is my proposal (already talked with Eliot).<br>
&gt;<br>
&gt; 1) unify <a href="http://source.squeak.org/FFI" rel="noreferrer" target="_blank">http://source.squeak.org/FFI</a> &lt;<a href="http://source.squeak.org/FFI" rel="noreferrer" target="_blank">http://source.squeak.org/FFI</a>&gt; and <a href="http://www.squeaksource.com/Alien" rel="noreferrer" target="_blank">http://www.squeaksource.com/Alien</a> &lt;<a href="http://www.squeaksource.com/Alien" rel="noreferrer" target="_blank">http://www.squeaksource.com/Alien</a>&gt; into <a href="http://source.squeak.org/FFI" rel="noreferrer" target="_blank">http://source.squeak.org/FFI</a> &lt;<a href="http://source.squeak.org/FFI" rel="noreferrer" target="_blank">http://source.squeak.org/FFI</a>&gt;<br>
&gt; That means copying into FFI repo all Alien history.<br>
&gt;<br>
&gt; 2) Rename Alien package into FFI-Alien (extract the Alien-Win32 category into its own package)<br>
&gt;<br>
&gt; 3) Create a ConfigurationOfFFI who takes properly FFI and FFI-Alien, etc.<br>
&gt;<br>
&gt; That means also deprecate Alien project in squeaksource (which usually is just put a WARNING text in home page :P)<br>
&gt;<br>
&gt; So… if nobody has a anything against this plan, I will do it next week :)<br>
&gt;<br>
&gt; cheers!<br>
&gt; Esteban<br>
&gt;<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160124/3f458274/attachment-0001.htm" rel="noreferrer" target="_blank">http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160124/3f458274/attachment-0001.htm</a><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Sun, 24 Jan 2016 14:10:42 +0100<br>
From: Luc Fabresse &lt;<a href="mailto:luc.fabresse@gmail.com">luc.fabresse@gmail.com</a>&gt;<br>
Subject: Re: [Vm-dev] Merging FFI and Alien<br>
To: Squeak Virtual Machine Development Discussion<br>
        &lt;<a href="mailto:vm-dev@lists.squeakfoundation.org">vm-dev@lists.squeakfoundation.org</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:CAAR4Pr6vgwbZ_dTm661ft8DYR9%2Bjw7M%2B0DncnPy%2B7ZLNUxaXdg@mail.gmail.com">CAAR4Pr6vgwbZ_dTm661ft8DYR9+jw7M+0DncnPy+7ZLNUxaXdg@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
2016-01-24 13:56 GMT+01:00 Esteban Lorenzano &lt;<a href="mailto:estebanlm@gmail.com">estebanlm@gmail.com</a>&gt;:<br>
<br>
&gt;<br>
&gt;<br>
&gt; On 24 Jan 2016, at 13:38, Luc Fabresse &lt;<a href="mailto:luc.fabresse@gmail.com">luc.fabresse@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Esteban,<br>
&gt;<br>
&gt; Question: why not &quot;just&quot; introducing Alien&#39;s callbacks in FFI and rename<br>
&gt; it (e.g. FFI-callbacks)?<br>
&gt;<br>
&gt; That would be simpler, no?<br>
&gt;<br>
&gt;<br>
&gt; no is not :)<br>
&gt; Callbacks works with Aliens, who are different than regular<br>
&gt; ExternalAddresses, then you need Aliens i.<br>
&gt; In the future, that could be a project (to modify callback part of<br>
&gt; plugin)… but for now faster approach is what I’m describing :)<br>
&gt;<br>
<br>
I was suspecting that I forgot part of this complicated story ;-)<br>
Thanks for clarifying,<br>
<br>
Luc<br>
<br>
<br>
&gt;<br>
&gt; cheers,<br>
&gt; Esteban<br>
&gt;<br>
&gt;<br>
&gt; - no Alien&#39;s history in FFI repo<br>
&gt; - not the full Alien&#39;s code (callout mechanism, ...) in FFI codebase<br>
&gt;<br>
&gt; - ...<br>
&gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt; #Luc<br>
&gt;<br>
&gt; 2016-01-24 12:57 GMT+01:00 Esteban Lorenzano &lt;<a href="mailto:estebanlm@gmail.com">estebanlm@gmail.com</a>&gt;:<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; Recently I’ve been talking with Eliot and we came to the conclusion that<br>
&gt;&gt; FFI and Alien repositories needs to be merged.<br>
&gt;&gt; Our rational is that 1) both are different ways of doing the same (often<br>
&gt;&gt; with same primitives) and much more important 2) Alien contains the the “de<br>
&gt;&gt; facto” callback mechanism supported by the VM.<br>
&gt;&gt; Keeping them separated and treated as two different things is negative<br>
&gt;&gt; and an important source of confusion for people willing to do FFI this days.<br>
&gt;&gt; So, here is my proposal (already talked with Eliot).<br>
&gt;&gt;<br>
&gt;&gt; 1) unify <a href="http://source.squeak.org/FFI" rel="noreferrer" target="_blank">http://source.squeak.org/FFI</a> and<br>
&gt;&gt; <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>
&gt;&gt; That means copying into FFI repo all Alien history.<br>
&gt;&gt;<br>
&gt;&gt; 2) Rename Alien package into FFI-Alien (extract the Alien-Win32 category<br>
&gt;&gt; into its own package)<br>
&gt;&gt;<br>
&gt;&gt; 3) Create a ConfigurationOfFFI who takes properly FFI and FFI-Alien, etc.<br>
&gt;&gt;<br>
&gt;&gt; That means also deprecate Alien project in squeaksource (which usually is<br>
&gt;&gt; just put a WARNING text in home page :P)<br>
&gt;&gt;<br>
&gt;&gt; So… if nobody has a anything against this plan, I will do it next week :)<br>
&gt;&gt;<br>
&gt;&gt; cheers!<br>
&gt;&gt; Esteban<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160124/6e4fac08/attachment.htm" rel="noreferrer" target="_blank">http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160124/6e4fac08/attachment.htm</a><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Vm-dev mailing list<br>
<a href="mailto:Vm-dev@lists.squeakfoundation.org">Vm-dev@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/vm-dev" rel="noreferrer" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/vm-dev</a><br>
<br>
<br>
End of Vm-dev Digest, Vol 115, Issue 103<br>
****************************************<br>
</blockquote></div><br></div></div>