Threading the needle with concurrency and parallelism in the Component Model
summary
Component Model now ships 0.3.0 support for async futures and streams and shows a concrete plan to add thread-style concurrency by layering on Core WebAssembly’s shared-everything-threads plus a thread.spawn builtin for incremental rollout. Implementations demonstrate usable async cross-language call stacks, asyncify has measurable code size and runtime overhead, and a sandbox start time of 35 microseconds illustrates why lightweight threads matter. Roadmap: async in 0.3, cooperative threads soon after, full noncooperative parallel threads once browsers ship shared functions.
AI-written summary · about
chapters (6)
- 0:00Why WebAssembly?
- 3:02The component model
- 9:24Async concurrency
- 12:50Introducing threads
- 17:51Concurrency design properties
- 24:08Colorless concurrency and wrap-up
related talks
35mComposable Concurrency for WebAssembly Components
38mTowards a Component Model 1.0
22mUsing WebAssembly and Threads
26mA journey of multithreading using WebAssembly
20mUsing Multithreading in the Browser
32mMulticore JavaScript: Past, Present and Future
31mLet the Main Thread Breathe!
52mWhat is a WebAssembly component (and why?)
