SharedArrayBuffer and Atomics
Widely available since 2024-06-13
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.
Learning resources on MDN
Browser support (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).