Jan. 13, 2010
5:06 p.m.
WriteBarrier introduces something like immutable objects at the language level by rewriting all state access in an anonymous subclass. Having a compiler at hand certainly makes things simpler.
Hmm.. what about primitives , which mutating the state of receiver? Even worse, there are some, which mutating the state of argument(s).
I don't know how WriteBarrier solves that problem (and if it really matters in this case), but it can be: http://scg.unibe.ch/archive/papers/Reng08aTransMemory.pdf Lukas -- Lukas Renggli http://www.lukas-renggli.ch