Am 05.05.2011 um 08:24 schrieb Marcus Denker: > > On May 5, 2011, at 8:19 AM, Panu Suominen wrote: > >> 2011/5/4 andres <[email protected]>: >>> Hi Panu. I don't know if immutability is available in Pharo, but if it is it >>> may work for you. You basically mark an object as immutable and register an >>> exception handler. When an immutable object's i.v. is assigned a new value, >>> an exception is raised and the assignment is left pending. There you can log >>> the change and effectively apply the assignment to the object. >> >> This sounds good but it seems that Squeak VM does not yet contain >> immutable objects. >> I am not sure. > > > No. They were implemented in the Squeak VM that NewSpeak uses. > So the code is out there. > Isn't there a WriteBarrier implementation somewhere. I don't know really but I think at least magma is using it.
Norbert
