Sync Pharo and Squeak VMMaker Re: [squeak-dev] immutability

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

Sync Pharo and Squeak VMMaker Re: [squeak-dev] immutability

Igor Stasenko
On 18 March 2010 14:26, Jean Baptiste Arnaud <[hidden email]> wrote:
> I studied the immutability bit, from the newspeak VM.
>
> And i think that can be very easy to implement, i would like to perform the change in VMMaker.
> But, i work on pharo, and the pharo image have a small difference about VMMaker.
> Then if that  small difference can be fixed and we have the same version of VMMaker for the two environments all my work can be usable on squeak.
>
>
Can you tell us more specific, what changes to VMMaker you made to
make it work on Pharo?
I'm not a fan of forking VMMaker, because one of achivements we made
last year is establishing a
single VMMaker repository and formed a vm-dev team who maintaining it.
So if its possible to keep things in sync, lets find a way to do that.


>
> On Mar 18, 2010, at 11:02 AM, Igor Stasenko wrote:
>
>>>> And that would require a VM change.
>
> Regard
> Jean Baptiste Arnaud
> [hidden email]
>
>
>
>
>
>



--
Best regards,
Igor Stasenko AKA sig.

Reply | Threaded
Open this post in threaded view
|

Re: Sync Pharo and Squeak VMMaker Re: [squeak-dev] immutability

Jean Baptiste Arnaud


On Mar 18, 2010, at 2:13 PM, Igor Stasenko wrote:

> On 18 March 2010 14:26, Jean Baptiste Arnaud <[hidden email]> wrote:
>> I studied the immutability bit, from the newspeak VM.
>>
>> And i think that can be very easy to implement, i would like to perform the change in VMMaker.
>> But, i work on pharo, and the pharo image have a small difference about VMMaker.
>> Then if that  small difference can be fixed and we have the same version of VMMaker for the two environments all my work can be usable on squeak.
>>
>>
> Can you tell us more specific, what changes to VMMaker you made to
> make it work on Pharo?

For the moment the change is in the configurationOfVMMaker on the MetaceloRepository

> I'm not a fan of forking VMMaker, because one of achivements we made
> last year is establishing a
> single VMMaker repository and formed a vm-dev team who maintaining it.
> So if its possible to keep things in sync, lets find a way to do that.
>
I would like to have one single version of VMMMaker if possible, too.

>
>>
>> On Mar 18, 2010, at 11:02 AM, Igor Stasenko wrote:
>>
>>>>> And that would require a VM change.
>>
>> Regard
>> Jean Baptiste Arnaud
>> [hidden email]
>>
>>
>>
>>
>>
>>
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>

Regard
Jean Baptiste Arnaud
[hidden email]





Reply | Threaded
Open this post in threaded view
|

Re: Sync Pharo and Squeak VMMaker Re: [squeak-dev] immutability

Jean Baptiste Arnaud
In reply to this post by Igor Stasenko

the change that must be performed

For RC image (Pharo) the main difference :
In the class SmartSyntaxPluginCodeGenerator
        On Pharo : the selector #ccgValBlock: ==> avoid to fix block or execute this method silently.
        On Squeak:  need to fix the temporary variable  block

In the class MiscPrimitivePlugin)
the selector be careful with the name of a method #translatedPrimitives
        On Pharo : (ByteString findSubstringViaPrimitive:in:startingAt:matchTable:)
        On Squeak : (ByteString findSubstring:in:startingAt:matchTable:)

Then VMMaker use a method #replaceLastOccurance
this method is deprecated in Pharo et must use :
        On Pharo : String #replaceLastOccurrence:
        On Squeak too :)




>
> The underscore assignment but we can avoid this problem just by setting a preference for the moment.
On Mar 18, 2010, at 2:13 PM, Igor Stasenko wrote:

> On 18 March 2010 14:26, Jean Baptiste Arnaud <[hidden email]> wrote:
>> I studied the immutability bit, from the newspeak VM.
>>
>> And i think that can be very easy to implement, i would like to perform the change in VMMaker.
>> But, i work on pharo, and the pharo image have a small difference about VMMaker.
>> Then if that  small difference can be fixed and we have the same version of VMMaker for the two environments all my work can be usable on squeak.
>>
>>
> Can you tell us more specific, what changes to VMMaker you made to
> make it work on Pharo?
> I'm not a fan of forking VMMaker, because one of achivements we made
> last year is establishing a
> single VMMaker repository and formed a vm-dev team who maintaining it.
> So if its possible to keep things in sync, lets find a way to do that.
>
>
>>
>> On Mar 18, 2010, at 11:02 AM, Igor Stasenko wrote:
>>
>>>>> And that would require a VM change.
>>
>> Regard
>> Jean Baptiste Arnaud
>> [hidden email]
>>
>>
>>
>>
>>
>>
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>

Regard
Jean Baptiste Arnaud
[hidden email]





Reply | Threaded
Open this post in threaded view
|

Re: Sync Pharo and Squeak VMMaker Re: [squeak-dev] immutability

Nicolas Cellier
See also http://bugs.squeak.org/view.php?id=7474

2010/3/18 Jean Baptiste Arnaud <[hidden email]>:

>
> the change that must be performed
>
> For RC image (Pharo) the main difference :
> In the class SmartSyntaxPluginCodeGenerator
>        On Pharo : the selector #ccgValBlock: ==> avoid to fix block or execute this method silently.
>        On Squeak:  need to fix the temporary variable  block
>
> In the class MiscPrimitivePlugin)
> the selector be careful with the name of a method #translatedPrimitives
>        On Pharo : (ByteString findSubstringViaPrimitive:in:startingAt:matchTable:)
>        On Squeak : (ByteString findSubstring:in:startingAt:matchTable:)
>
> Then VMMaker use a method #replaceLastOccurance
> this method is deprecated in Pharo et must use :
>        On Pharo : String #replaceLastOccurrence:
>        On Squeak too :)
>
>
>
>
>>
>> The underscore assignment but we can avoid this problem just by setting a preference for the moment.
> On Mar 18, 2010, at 2:13 PM, Igor Stasenko wrote:
>
>> On 18 March 2010 14:26, Jean Baptiste Arnaud <[hidden email]> wrote:
>>> I studied the immutability bit, from the newspeak VM.
>>>
>>> And i think that can be very easy to implement, i would like to perform the change in VMMaker.
>>> But, i work on pharo, and the pharo image have a small difference about VMMaker.
>>> Then if that  small difference can be fixed and we have the same version of VMMaker for the two environments all my work can be usable on squeak.
>>>
>>>
>> Can you tell us more specific, what changes to VMMaker you made to
>> make it work on Pharo?
>> I'm not a fan of forking VMMaker, because one of achivements we made
>> last year is establishing a
>> single VMMaker repository and formed a vm-dev team who maintaining it.
>> So if its possible to keep things in sync, lets find a way to do that.
>>
>>
>>>
>>> On Mar 18, 2010, at 11:02 AM, Igor Stasenko wrote:
>>>
>>>>>> And that would require a VM change.
>>>
>>> Regard
>>> Jean Baptiste Arnaud
>>> [hidden email]
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>> --
>> Best regards,
>> Igor Stasenko AKA sig.
>>
>
> Regard
> Jean Baptiste Arnaud
> [hidden email]
>
>
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Sync Pharo and Squeak VMMaker Re: [squeak-dev] immutability

Nicolas Cellier
2010/3/18 Nicolas Cellier <[hidden email]>:
> See also http://bugs.squeak.org/view.php?id=7474
>

Oops no, seems fixed :)

> 2010/3/18 Jean Baptiste Arnaud <[hidden email]>:
>>
>> the change that must be performed
>>
>> For RC image (Pharo) the main difference :
>> In the class SmartSyntaxPluginCodeGenerator
>>        On Pharo : the selector #ccgValBlock: ==> avoid to fix block or execute this method silently.
>>        On Squeak:  need to fix the temporary variable  block
>>
>> In the class MiscPrimitivePlugin)
>> the selector be careful with the name of a method #translatedPrimitives
>>        On Pharo : (ByteString findSubstringViaPrimitive:in:startingAt:matchTable:)
>>        On Squeak : (ByteString findSubstring:in:startingAt:matchTable:)
>>
>> Then VMMaker use a method #replaceLastOccurance
>> this method is deprecated in Pharo et must use :
>>        On Pharo : String #replaceLastOccurrence:
>>        On Squeak too :)
>>
>>
>>
>>
>>>
>>> The underscore assignment but we can avoid this problem just by setting a preference for the moment.
>> On Mar 18, 2010, at 2:13 PM, Igor Stasenko wrote:
>>
>>> On 18 March 2010 14:26, Jean Baptiste Arnaud <[hidden email]> wrote:
>>>> I studied the immutability bit, from the newspeak VM.
>>>>
>>>> And i think that can be very easy to implement, i would like to perform the change in VMMaker.
>>>> But, i work on pharo, and the pharo image have a small difference about VMMaker.
>>>> Then if that  small difference can be fixed and we have the same version of VMMaker for the two environments all my work can be usable on squeak.
>>>>
>>>>
>>> Can you tell us more specific, what changes to VMMaker you made to
>>> make it work on Pharo?
>>> I'm not a fan of forking VMMaker, because one of achivements we made
>>> last year is establishing a
>>> single VMMaker repository and formed a vm-dev team who maintaining it.
>>> So if its possible to keep things in sync, lets find a way to do that.
>>>
>>>
>>>>
>>>> On Mar 18, 2010, at 11:02 AM, Igor Stasenko wrote:
>>>>
>>>>>>> And that would require a VM change.
>>>>
>>>> Regard
>>>> Jean Baptiste Arnaud
>>>> [hidden email]
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Igor Stasenko AKA sig.
>>>
>>
>> Regard
>> Jean Baptiste Arnaud
>> [hidden email]
>>
>>
>>
>>
>>
>>
>