[squeak-dev] immutability
Miguel Enrique Cobá Martinez
miguel.coba at gmail.com
Wed Mar 17 16:18:48 UTC 2010
El mié, 17-03-2010 a las 07:26 -0700, Randal L. Schwartz escribió:
> Has anyone looked at, proposed, implemented object immutability?
> Obviously, it would require a VM change.
>
> It would make database proxy objects a bit easier, because they could be
> marked immutable to throw an exception during the first write, so they could
> be marked dirty (and then mutable) to write back before finalization.
>
> I know VWST has something like this, and I think GemStone does as well.
>
WriteBarrier?
--
Miguel Cobá
http://miguel.leugim.com.mx
More information about the Squeak-dev
mailing list
|