WebAssembly 3.0 with Andreas Rossberg
Episode
61 min
Read time
3 min
Topics
Productivity, Remote Work, Design & UX
AI-Generated Summary
Key Takeaways
- ✓WebAssembly 1.0 Design Philosophy: The initial release targeted existing ASM.JS users with minimal features - four numeric data types, linear byte array memory, and function pointers. This intentionally limited scope enabled quick adoption for C, C++, and Rust codebases while leaving deliberate gaps for multiple values, multiple tables, and multiple memories to be added in future versions without breaking compatibility.
- ✓Garbage Collection Architecture: Version 3.0 introduces low-level GC supporting only structs and arrays, not high-level objects like Java VM. Languages must map runtime data structures to these primitives, similar to native code compilation. The implementation leverages existing JavaScript garbage collectors in browsers, adding zero overhead for applications that don't use GC features, following the pay-as-you-go principle.
- ✓Performance Characteristics: WebAssembly excels at numeric computation with near-native performance through ahead-of-time compilation. JavaScript can outperform WebAssembly in dynamic scenarios due to runtime profiling and recompilation. Applications focused primarily on DOM manipulation gain minimal benefit from WebAssembly compilation. The calling overhead between WebAssembly and JavaScript is dominated by actual DOM work, not the boundary crossing itself.
- ✓Non-Web Use Cases: Edge computing platforms like Fastly, embedded systems at Siemens, and blockchain implementations adopt WebAssembly for three primary reasons - portability across hardware without rebuilding toolchains, strict sandboxing without ambient capabilities, and deterministic execution. The 3.0 deterministic profile ensures identical results across replicated computation environments by eliminating all sources of non-determinism beyond intentional concurrency.
- ✓Component Model Development: This separate specification layer defines language-agnostic high-level types and advanced module systems for cross-language interoperability. Unlike bare WebAssembly's hardware-like ABI requirements, the component model provides shared-nothing concurrency and standardized interfaces. Work progresses on defining a C ABI for WebAssembly and WASI libraries for operating system abstractions, enabling portable module composition without knowing entire system implementations.
What It Covers
Andreas Rossberg, WebAssembly architect and former Google V8 team member, explores the evolution from version 1.0 through the groundbreaking 3.0 specification. The discussion covers garbage collection integration, multi-language interoperability, reference types, tail calls, and how WebAssembly expanded beyond browser compilation targets into edge computing, embedded systems, blockchain platforms, and deterministic execution environments requiring formal verification.
Key Questions Answered
- •WebAssembly 1.0 Design Philosophy: The initial release targeted existing ASM.JS users with minimal features - four numeric data types, linear byte array memory, and function pointers. This intentionally limited scope enabled quick adoption for C, C++, and Rust codebases while leaving deliberate gaps for multiple values, multiple tables, and multiple memories to be added in future versions without breaking compatibility.
- •Garbage Collection Architecture: Version 3.0 introduces low-level GC supporting only structs and arrays, not high-level objects like Java VM. Languages must map runtime data structures to these primitives, similar to native code compilation. The implementation leverages existing JavaScript garbage collectors in browsers, adding zero overhead for applications that don't use GC features, following the pay-as-you-go principle.
- •Performance Characteristics: WebAssembly excels at numeric computation with near-native performance through ahead-of-time compilation. JavaScript can outperform WebAssembly in dynamic scenarios due to runtime profiling and recompilation. Applications focused primarily on DOM manipulation gain minimal benefit from WebAssembly compilation. The calling overhead between WebAssembly and JavaScript is dominated by actual DOM work, not the boundary crossing itself.
- •Non-Web Use Cases: Edge computing platforms like Fastly, embedded systems at Siemens, and blockchain implementations adopt WebAssembly for three primary reasons - portability across hardware without rebuilding toolchains, strict sandboxing without ambient capabilities, and deterministic execution. The 3.0 deterministic profile ensures identical results across replicated computation environments by eliminating all sources of non-determinism beyond intentional concurrency.
- •Component Model Development: This separate specification layer defines language-agnostic high-level types and advanced module systems for cross-language interoperability. Unlike bare WebAssembly's hardware-like ABI requirements, the component model provides shared-nothing concurrency and standardized interfaces. Work progresses on defining a C ABI for WebAssembly and WASI libraries for operating system abstractions, enabling portable module composition without knowing entire system implementations.
- •Stack Switching via Continuations: The next major feature implements delimited continuations based on effect handlers, enabling efficient compilation of async/await, generators, and green threads. Current workarounds include expensive CPS transformations, trampolining through JavaScript, or brittle manual techniques. Effect handlers allow modular composition of multiple control effects without interference, letting generators suspend entire threads without knowing about thread scheduling logic.
Notable Moment
Rossberg reveals WebAssembly maintains machine-verified mathematical proofs demonstrating zero undefined behavior across the entire specification. The team designed formalization hand-in-hand with implementation, using formal verification as a feedback loop - when formalization becomes difficult, the design likely needs revision. This approach enables potential verification of entire software stacks from hardware through engines to compilers, unprecedented for industrial programming languages.
You just read a 3-minute summary of a 58-minute episode.
Get Software Engineering Daily summarized like this every Monday — plus up to 2 more podcasts, free.
Pick Your Podcasts — FreeKeep Reading
More from Software Engineering Daily
SED News: Apple’s AI Problem, The Real Business Model of AI, and Token Cost Reckoning
Jun 9 · 48 min
Dwarkesh Podcast
Reiner Pope – The math behind how LLMs are trained and served
Apr 29
More from Software Engineering Daily
Web Native Game Development
Jun 4 · 54 min
Modern Wisdom
#1079 - Tristan Harris - AI Expert Warns: “This Is The Last Mistake We’ll Ever Make”
Apr 2
More from Software Engineering Daily
We summarize every new episode. Want them in your inbox?
SED News: Apple’s AI Problem, The Real Business Model of AI, and Token Cost Reckoning
Web Native Game Development
The Hardware Bottleneck AI Can’t Fix
Autonomous Drone Delivery at Scale
The European Startup Scene
Similar Episodes
Related episodes from other podcasts
Dwarkesh Podcast
Apr 29
Reiner Pope – The math behind how LLMs are trained and served
Modern Wisdom
Apr 2
#1079 - Tristan Harris - AI Expert Warns: “This Is The Last Mistake We’ll Ever Make”
Eye on AI
Feb 17
#321 Nick Frosst: Why Cohere Is Betting on Enterprise AI, Not AGI
Latent Space
Jan 23
Captaining IMO Gold, Deep Think, On-Policy RL, Feeling the AGI in Singapore — Yi Tay 2
Latent Space
Dec 30
[State of RL/Reasoning] IMO/IOI Gold, OpenAI o3/GPT-5, and Cursor Composer — Ashvin Nair, Cursor
Explore Related Topics
This podcast is featured in Best Cybersecurity Podcasts (2026) — ranked and reviewed with AI summaries.
You're clearly into Software Engineering Daily.
Every Monday, we deliver AI summaries of the latest episodes from Software Engineering Daily and 192+ other podcasts. Free for up to 3 shows.
Start My Monday DigestNo credit card · Unsubscribe anytime