[squeak-dev] Instance variable access in superclasses.

Jecel Assumpcao Jr jecel at merlintec.com
Tue Nov 25 23:11:46 UTC 2008


Michael van der Gulik wrote:
> I was thinking, briefly, about modifying the VM and object memory
> format so that instance variables are always indexed beginning from
> 0 for every subclass. Somehow.

See a detailed implementation of this here -

http://stephane.ducasse.free.fr/FreeBooks/LittleSmalltalk/ALittleSmallta
lk.pdf

> It isn't necessarily a good idea. I haven't thought through the details yet.

I think that the versions of Little Smalltalk created after the book was
published no longer use this idea. I would have to look at the sources
again to be sure.

-- Jecel




More information about the Squeak-dev mailing list