unsubscribe Re: Vm-dev Digest, Vol 115, Issue 103

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

unsubscribe Re: Vm-dev Digest, Vol 115, Issue 103

peter.ode
 



On Sun, Jan 24, 2016 at 5:10 AM, <[hidden email]> wrote:
Send Vm-dev mailing list submissions to
        [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.squeakfoundation.org/mailman/listinfo/vm-dev
or, via email, send a message with subject or body 'help' to
        [hidden email]

You can reach the person managing the list at
        [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Vm-dev digest..."


Today's Topics:

   1. Merging FFI and Alien (Esteban Lorenzano)
   2. Re: Merging FFI and Alien (Luc Fabresse)
   3. Re: Merging FFI and Alien (Esteban Lorenzano)
   4. Re: Merging FFI and Alien (Luc Fabresse)


----------------------------------------------------------------------

Message: 1
Date: Sun, 24 Jan 2016 12:57:36 +0100
From: Esteban Lorenzano <[hidden email]>
Subject: [Vm-dev] Merging FFI and Alien
To: Squeak Virtual Machine Development Discussion
        <[hidden email]>
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=utf-8

Hi,

Recently I’ve been talking with Eliot and we came to the conclusion that FFI and Alien repositories needs to be merged.
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.
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.
So, here is my proposal (already talked with Eliot).

1) unify http://source.squeak.org/FFI and http://www.squeaksource.com/Alien into http://source.squeak.org/FFI
That means copying into FFI repo all Alien history.

2) Rename Alien package into FFI-Alien (extract the Alien-Win32 category into its own package)

3) Create a ConfigurationOfFFI who takes properly FFI and FFI-Alien, etc.

That means also deprecate Alien project in squeaksource (which usually is just put a WARNING text in home page :P)

So… if nobody has a anything against this plan, I will do it next week :)

cheers!
Esteban

------------------------------

Message: 2
Date: Sun, 24 Jan 2016 13:38:55 +0100
From: Luc Fabresse <[hidden email]>
Subject: Re: [Vm-dev] Merging FFI and Alien
To: Squeak Virtual Machine Development Discussion
        <[hidden email]>
Message-ID:
        <CAAR4Pr6djsskF5jr77Ntgf=UM0CjGv8v7t+hwvYik=[hidden email]>
Content-Type: text/plain; charset="utf-8"

Hi Esteban,

Question: why not "just" introducing Alien's callbacks in FFI and rename it
(e.g. FFI-callbacks)?

That would be simpler, no?
- no Alien's history in FFI repo
- not the full Alien's code (callout mechanism, ...) in FFI codebase
- ...

Cheers,

#Luc

2016-01-24 12:57 GMT+01:00 Esteban Lorenzano <[hidden email]>:

>
> Hi,
>
> Recently I’ve been talking with Eliot and we came to the conclusion that
> FFI and Alien repositories needs to be merged.
> 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.
> 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.
> So, here is my proposal (already talked with Eliot).
>
> 1) unify http://source.squeak.org/FFI and
> http://www.squeaksource.com/Alien into http://source.squeak.org/FFI
> That means copying into FFI repo all Alien history.
>
> 2) Rename Alien package into FFI-Alien (extract the Alien-Win32 category
> into its own package)
>
> 3) Create a ConfigurationOfFFI who takes properly FFI and FFI-Alien, etc.
>
> That means also deprecate Alien project in squeaksource (which usually is
> just put a WARNING text in home page :P)
>
> So… if nobody has a anything against this plan, I will do it next week :)
>
> cheers!
> Esteban
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160124/d5b5dac0/attachment-0001.htm

------------------------------

Message: 3
Date: Sun, 24 Jan 2016 13:56:52 +0100
From: Esteban Lorenzano <[hidden email]>
Subject: Re: [Vm-dev] Merging FFI and Alien
To: Squeak Virtual Machine Development Discussion
        <[hidden email]>
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="utf-8"


> On 24 Jan 2016, at 13:38, Luc Fabresse <[hidden email]> wrote:
>
> Hi Esteban,
>
> Question: why not "just" introducing Alien's callbacks in FFI and rename it (e.g. FFI-callbacks)?
>
> That would be simpler, no?

no is not :)
Callbacks works with Aliens, who are different than regular ExternalAddresses, then you need Aliens i.
In the future, that could be a project (to modify callback part of plugin)… but for now faster approach is what I’m describing :)

cheers,
Esteban


> - no Alien's history in FFI repo
> - not the full Alien's code (callout mechanism, ...) in FFI codebase
> - ...
>
> Cheers,
>
> #Luc
>
> 2016-01-24 12:57 GMT+01:00 Esteban Lorenzano <[hidden email] <mailto:[hidden email]>>:
>
> Hi,
>
> Recently I’ve been talking with Eliot and we came to the conclusion that FFI and Alien repositories needs to be merged.
> 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.
> 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.
> So, here is my proposal (already talked with Eliot).
>
> 1) unify http://source.squeak.org/FFI <http://source.squeak.org/FFI> and http://www.squeaksource.com/Alien <http://www.squeaksource.com/Alien> into http://source.squeak.org/FFI <http://source.squeak.org/FFI>
> That means copying into FFI repo all Alien history.
>
> 2) Rename Alien package into FFI-Alien (extract the Alien-Win32 category into its own package)
>
> 3) Create a ConfigurationOfFFI who takes properly FFI and FFI-Alien, etc.
>
> That means also deprecate Alien project in squeaksource (which usually is just put a WARNING text in home page :P)
>
> So… if nobody has a anything against this plan, I will do it next week :)
>
> cheers!
> Esteban
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160124/3f458274/attachment-0001.htm

------------------------------

Message: 4
Date: Sun, 24 Jan 2016 14:10:42 +0100
From: Luc Fabresse <[hidden email]>
Subject: Re: [Vm-dev] Merging FFI and Alien
To: Squeak Virtual Machine Development Discussion
        <[hidden email]>
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset="utf-8"

2016-01-24 13:56 GMT+01:00 Esteban Lorenzano <[hidden email]>:

>
>
> On 24 Jan 2016, at 13:38, Luc Fabresse <[hidden email]> wrote:
>
> Hi Esteban,
>
> Question: why not "just" introducing Alien's callbacks in FFI and rename
> it (e.g. FFI-callbacks)?
>
> That would be simpler, no?
>
>
> no is not :)
> Callbacks works with Aliens, who are different than regular
> ExternalAddresses, then you need Aliens i.
> In the future, that could be a project (to modify callback part of
> plugin)… but for now faster approach is what I’m describing :)
>

I was suspecting that I forgot part of this complicated story ;-)
Thanks for clarifying,

Luc


>
> cheers,
> Esteban
>
>
> - no Alien's history in FFI repo
> - not the full Alien's code (callout mechanism, ...) in FFI codebase
>
> - ...
>
> Cheers,
>
> #Luc
>
> 2016-01-24 12:57 GMT+01:00 Esteban Lorenzano <[hidden email]>:
>
>>
>> Hi,
>>
>> Recently I’ve been talking with Eliot and we came to the conclusion that
>> FFI and Alien repositories needs to be merged.
>> 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.
>> 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.
>> So, here is my proposal (already talked with Eliot).
>>
>> 1) unify http://source.squeak.org/FFI and
>> http://www.squeaksource.com/Alien into http://source.squeak.org/FFI
>> That means copying into FFI repo all Alien history.
>>
>> 2) Rename Alien package into FFI-Alien (extract the Alien-Win32 category
>> into its own package)
>>
>> 3) Create a ConfigurationOfFFI who takes properly FFI and FFI-Alien, etc.
>>
>> That means also deprecate Alien project in squeaksource (which usually is
>> just put a WARNING text in home page :P)
>>
>> So… if nobody has a anything against this plan, I will do it next week :)
>>
>> cheers!
>> Esteban
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160124/6e4fac08/attachment.htm

------------------------------

_______________________________________________
Vm-dev mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/vm-dev


End of Vm-dev Digest, Vol 115, Issue 103
****************************************