On 23/03/2009, at 7:05 PM, Stéphane Ducasse wrote: > do you know pointers that explain the interplay between transactional > memory and concurrency/immutable structure.
There are many papers on STM that describe the benefits wrt concurrency. Wikipedia has a good explanation http://en.wikipedia.org/wiki/Software_transactional_memory with many subsequent links. The relative weight of the pros and cons vary depending both on the STM implementation (e.g. Clojure uses MVCC) and the language into which STM is embedded. Immutability makes a big difference by reducing contention granularity. Clojure has the additional benefit of explicitly identifying the points are which conflict can occur e.g. Refs. Antony Blakey ------------- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 It is no measure of health to be well adjusted to a profoundly sick society. -- Jiddu Krishnamurti _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
