On Apr 1, 2013, at 12:28 PM, Thomas Worthington <[email protected]> 
wrote:

> I notice that "Slots" are slated for addition in Pharo 3.0. Is there anywhere 
> I can see which model of "slots" is being suggested?

http://rmod.lille.inria.fr/archives/papers/Verw11a-OOSPLA11-FlexibleObjectLayouts.pdf

> I'm not sure that slots, in the sense of Javascript, are a good idea 
> generally and, in the broader context, I'm very unhappy with the idea of 
> messing with Smalltalk's generally clean syntax by adding new language 
> features. Could the desired effects be achieved by subclassing Behavour or 
> somesuch high-level approach?

The good news is that there are
        -> no vm changes
        -> no changes in the syntax

So maybe it is done exactly as you suggest? I guess.

For the integration, there are two steps

1) Layouts and new classBuilder

This change is purely internal. There are Slot objects describing instance 
variables, but there
are actually no new slot types and the definition template for subclassing is 
unchanged.

You can look at an image like that here:

        https://ci.inria.fr/pharo-contribution/job/Slot/

2) Actually add new Slots and support in the tools for those.


        Marcus


Reply via email to