Experimental JavaScript shared memory features
- Category
- JavaScript
- Type
- New or changed feature
- Status
- No active development (Chrome No active development)
- Intent stage
- Start prototyping
Summary
Shared memory is a fundamental capability that underpins multithreaded programming and scaling performance to more cores. While JavaScript has SharedArrayBuffers, it still high-level abstractions for shared memory. This feature tracks experimental JS shared memory features such as shared structs, shared fixed length arrays, and synchronization primitives like Atomics.Mutex and Atomics.Condition.
Standards & signals
- Firefox: No signal
- Safari: No signal
- Web developers: No signals
- Tracking bug: https://bugs.chromium.org/p/v8/issues/detail?id=12547
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=experimental-javascript-shared-memory-features
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+Experimental%20JavaScript%20shared%20memory%20features
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=Experimental%20JavaScript%20shared%20memory%20features
- Baseline status: https://webstatus.dev/?q=Experimental%20JavaScript%20shared%20memory%20features
Explainers: https://github.com/tc39/proposal-structs#shared-memory-for-concurrency