WebAssembly Worker Based Threads

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.

Comments

Shipping criteria on Android still unresolved. Also, more discussions of the related feature SharedArrayBuffers are discussed in https://docs.google.com/document/d/1dnUjxfGWnvhQEIyCZb0F2LmCZ9gio6ogu2rhMGqi6gY/edit

Documentation

Specification

Working draft or equivalent

Status in Chromium

Blink>JavaScript>WebAssembly


Enabled by default (tracking bug) in:

  • Chrome for desktop release 74

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owners

Last updated on 2019-04-08