ES proposal: Shared memory and atomics

Update 2017-02-24: Complete rewrite of Sect. 4, “Atomics: safely accessing shared data”.

The ECMAScript proposal “Shared memory and atomics” by Lars T. Hansen has reached stage 4 this week and will be part of ECMAScript 2017. It introduces a new constructor SharedArrayBuffer and a namespace object Atomics with helper functions. This blog post explains the details.
[Read rest of post]