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

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Thu Mar 18 18:52:22 UTC 2010


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

2010/3/18 Jean Baptiste Arnaud <jbaptiste.arnaud at gmail.com>:
>
> 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 <jbaptiste.arnaud at gmail.com> 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
>>> jbaptiste.arnaud at gmail.com
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>> --
>> Best regards,
>> Igor Stasenko AKA sig.
>>
>
> Regard
> Jean Baptiste Arnaud
> jbaptiste.arnaud at gmail.com
>
>
>
>
>
>



More information about the Squeak-dev mailing list