The WebAssembly Threads feature allows multiple WebAssembly instances in separate Web Workers to share a single WebAssembly.Memory object. As with SharedArrayBuffers in JavaScript, this allows very fast communication between the Workers. This can be used to offload computation to another thread to keep the main thread and its UI responsive.
Documentation
Specification
Status in Chromium
Enabled by default (tracking bug) in:
- Chrome for desktop release 74
- Chrome for Android release 88
Consensus & Standardization
After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.
- Shipped/Shipping
- In development
- Positive
- Strongly positive
Owners
Search tags
wasm, webassembly, threads,Last updated on 2020-11-09
Comments
More discussions of the related feature SharedArrayBuffers are discussed in https://docs.google.com/document/d/1W7WAHe5hZZjEdNfSMRwt_4nIv5mRkyORpVj6AOfYkd4/edit#heading=h.96g0downs8a5