WebAssembly Threads with SharedArrayBuffer
Wasm threads are Web Workers instantiating the same module against one shared linear memory (backed by SharedArrayBuffer), coordinating with atomic instructions and memory.atomic.wait/notify. They require the page to be cross-origin isolated via COOP/COEP headers, which is a deployment constraint as real as the code.
This Concept is waiting for its first lesson!
Wasm threads are Web Workers instantiating the same module against one shared linear memory (backed by SharedArrayBuffer), coordinating with atomic instructions and memory.atomic.wait/notify. They require the page to be cross-origin isolated via COOP/COEP headers, which is a deployment constraint as real as the code.
Are you a teacher? Sign in to start contributing.
Sign In