<commit_before># ecmascript_sharedmem

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

## Documentation and other materials

* [Formatted specification](http://tc39.github.io/ecmascript_sharedmem/shmem.html)
* [Simple tutorial introduction](TUTORIAL.md)
* [Demo programs and other examples](DEMOS.md)
* [Frequently asked questions](FAQ.md)
* [High-level design issues, cross-cutting concerns, security concerns, etc](DISCUSSION.md)
* Slide decks for presentations given to Ecma TC39:
  * [September 2015](https://github.com/tc39/ecmascript_sharedmem/blob/master/tc39/presentation-sept-2015.odp)
  * [January 2016](https://github.com/tc39/ecmascript_sharedmem/blob/master/tc39/presentation-jan-2016.odp)
* [asm.js companion specification](http://tc39.github.io/ecmascript_sharedmem/asmjs_shmem.html)

## Implementations

Firefox, Chrome and WebKit 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.)
* The feature is enabled by default in WebKit Nightly and Safari Technology Preview as of STP 20.<commit_msg>Add link to DOM companion spec<commit_after># ecmascript_sharedmem

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

## Documentation and other materials

* [Formatted specification](http://tc39.github.io/ecmascript_sharedmem/shmem.html)
* [DOM companion specification](http://tc39.github.io/ecmascript_sharedmem/dom_shmem.html)
* [asm.js companion specification](http://tc39.github.io/ecmascript_sharedmem/asmjs_shmem.html)
* [Simple tutorial introduction](TUTORIAL.md)
* [Demo programs and other examples](DEMOS.md)
* [Frequently asked questions](FAQ.md)
* [High-level design issues, cross-cutting concerns, security concerns, etc](DISCUSSION.md)
* Slide decks for presentations given to Ecma TC39:
  * [September 2015](https://github.com/tc39/ecmascript_sharedmem/blob/master/tc39/presentation-sept-2015.odp)
  * [January 2016](https://github.com/tc39/ecmascript_sharedmem/blob/master/tc39/presentation-jan-2016.odp)

## Implementations

Firefox, Chrome and WebKit 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.)
* The feature is enabled by default in WebKit Nightly and Safari Technology Preview as of STP 20.
{'fraction_non_alphanumeric': 0.09269323671497584, 'fraction_numerical': 0.024154589371980676, 'mean_word_length': 5.483365949119373, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1232652', 'n_tokens_mistral': 1035, 'n_tokens_neox': 926, 'n_words': 327}