Socket Plugin primitives

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

Socket Plugin primitives

jannik laval
Hi all,

I am analyzing SocketPluggin for Ocean development. And I have some remarks/questions.

First, to be sure, can you confirm my vision:
- the vm 4.x is the old one. Is it maintained ?
- vm 5.7.x is the normal vm (without JIT)
- vm 5.8.x is the Cog VM with normal pluggin
- vm Cog is Cog VM with less primitives than vm 5.8 (modified pluggins).

Based on that, we can see that Cog has only 38 primitives related to SocketPluggin where normal pluggin provides 61 primitives.
Could anyone explain to me why some primitives disappear ?
I do not yet analyze which primitives disappear but maybe someone could help me to understand this difference between the two pluggins.

Thanks in advance for your help,
---
Jannik Laval


Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] Socket Plugin primitives

jannik laval
On Mar 16, 2011, at 21:52 , Levente Uzonyi wrote:

> On Wed, 16 Mar 2011, jannik.laval wrote:
>
>>
>> Hi all,
>>
>> I am analyzing SocketPluggin for Ocean development. And I have some remarks/questions.
>>
>> First, to be sure, can you confirm my vision:
>> - the vm 4.x is the old one. Is it maintained ?
>> - vm 5.7.x is the normal vm (without JIT)
>> - vm 5.8.x is the Cog VM with normal pluggin
>> - vm Cog is Cog VM with less primitives than vm 5.8 (modified pluggins).
>>
>> Based on that, we can see that Cog has only 38 primitives related to SocketPluggin where normal pluggin provides 61 primitives.
>> Could anyone explain to me why some primitives disappear ?
>
> Cog was forked from an old version of the VM sources that didn't have the IPv6 primitives, so those are missing.

Ok, now I understand.

> There may be other differences, so someone has to merge the code of the two (Cog's and the interpreter VM's) plugins.

Which kind of difference ?You want to say in the source code ?

Jannik

>
>
> Levente
>
>> I do not yet analyze which primitives disappear but maybe someone could help me to understand this difference between the two pluggins.
>>
>> Thanks in advance for your help,
>> ---
>> Jannik Laval
>>
>>


Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] Socket Plugin primitives

Stéphane Ducasse
Jannik

I do not know you but even today on my mac I turned off the IPV6 supports because it was strange (not talking about Smalltalk).
Now what you can probably do is to check the C files of the plugins in Cog and latest Squeak.

Stef

On Mar 17, 2011, at 5:28 AM, jannik.laval wrote:

>
> On Mar 16, 2011, at 21:52 , Levente Uzonyi wrote:
>
>> On Wed, 16 Mar 2011, jannik.laval wrote:
>>
>>>
>>> Hi all,
>>>
>>> I am analyzing SocketPluggin for Ocean development. And I have some remarks/questions.
>>>
>>> First, to be sure, can you confirm my vision:
>>> - the vm 4.x is the old one. Is it maintained ?
>>> - vm 5.7.x is the normal vm (without JIT)
>>> - vm 5.8.x is the Cog VM with normal pluggin
>>> - vm Cog is Cog VM with less primitives than vm 5.8 (modified pluggins).
>>>
>>> Based on that, we can see that Cog has only 38 primitives related to SocketPluggin where normal pluggin provides 61 primitives.
>>> Could anyone explain to me why some primitives disappear ?
>>
>> Cog was forked from an old version of the VM sources that didn't have the IPv6 primitives, so those are missing.
>
> Ok, now I understand.
>
>> There may be other differences, so someone has to merge the code of the two (Cog's and the interpreter VM's) plugins.
>
> Which kind of difference ?You want to say in the source code ?
>
> Jannik
>
>>
>>
>> Levente
>>
>>> I do not yet analyze which primitives disappear but maybe someone could help me to understand this difference between the two pluggins.
>>>
>>> Thanks in advance for your help,
>>> ---
>>> Jannik Laval
>>>
>>>
>