News for hackers. Stuff that matters.
Re:PyPy - We need Software Transactional Memory by wgren on Tuesday August 23, 2011 @09:18AM (#2916411)
>if [a JVM thread] reads a field of an object, and another thread writes to the same field of the same object, then the program will see either the old value, or the new value, but not something else entirely

Nitpick: unless the field in questions is a "long" or "double". In those cases the operation becomes two bytecodes and you can in fact see something else entirely if you are unlucky. At least it used to be like that.

Re:PyPy - We need Software Transactional Memory by palish on Tuesday August 23, 2011 @09:28AM (#2916445)
On 32-bit platforms.

On 64-bit, you won't. =)