SharedArrayBuffer and Atomics
Widely available
Tags:
javascript
Groups:
JavaScript
The SharedArrayBuffer
object represents bytes shared between multiple workers and the main thread. The Atomics
object safely accesses SharedArrayBuffer
data to make sure predictable values are read and written and that operations are not interrupted.
To learn more, see
SharedArrayBuffer,
Atomics at MDN.
Compatibility (view on caniuse.com)
- Chrome 68 Released on 2018-07-24
- Chrome Android 89 Released on 2021-03-02
- Edge 79 Released on 2020-01-15
- Firefox 79 Released on 2020-07-28
- Firefox for Android 79 Released on 2020-07-28
- Safari 15.2 Released on 2021-12-13
- Safari on iOS 15.2 Released on 2021-12-13
Specifications
- ECMAScript Language Specification (#sec-sharedarraybuffer-objects), from TC39 (Ecma International).
- ECMAScript Language Specification (#sec-atomics-object), from TC39 (Ecma International).