/ecmascript_sharedmem

Shared memory and atomics for ECMAscript

Primary LanguageHTMLMozilla Public License 2.0MPL-2.0

ecmascript_sharedmem

This is a specification for Shared Memory and Atomics for ECMAScript, a proposal submitted to Ecma TC39 and currently at Stage 2 in the ECMAScript approval process.

Documentation and other materials

Firefox and Chrome implementations

Both Firefox and Chrome ship with prototype implementations of the proposal; these are largely compatible.

  • The feature is enabled by default in Firefox Nightly; starting with Firefox 46, users of Developer Edition, Aurora, Beta, and Release can visit about:config and set the option javascript.options.shared_memory to true.
  • The feature is off by default in Chrome, but can be enabled by passing the command line options --js-flags=--harmony-sharedarraybuffer and --enable-blink-feature=SharedArrayBuffer. (Known to work in Chrome 48.)

Miscellaneous

The sources for the specs are in the tc39/ subdirectory and the formatted versions are generated with the format.sh script.