JavaScript Toolchain for WebAssembly Components
Talkat WasmCon 2023 · on Wednesday, 2023-09-06· at 15:45· Grand Ballroom J, Hyatt Regency Bellevue, 900 Bellevue Way NE·
summary
Shows a practical JavaScript toolchain that turns Wasm Components into importable ES modules and back: jco transpile and a transpiled component export a typed JS shim that runs in browser and Node, dynamic-linking maps component imports to module exports, and wasi-tools compose bundles linked components into a single component. Componentized JS embeds SpiderMonkey to build JS-authored components as Wasm. Demos build Rust CLIs into browser-run commands, link them at runtime, and mostly run live; the final wasi-vert virtualization demo is flaky on stage.
AI-written summary · about
chapters (10)
- 0:00Introduction to components
- 0:43The JavaScript ecosystem
- 4:32Component model benefits
- 6:19JavaScript tooling overview
- 7:41Browser CLI demo
- 13:34Building the shell reactor
- 16:01Dynamic component linking
- 25:47WASI linking explained
- 27:52Componentized JS project
- 31:36Virtualization and conclusion
related talks
52mWhat is a WebAssembly component (and why?)
01h 01mAn introduction to WebAssembly components
56mKEYNOTE: WebAssembly Update: The Proposals, Wasi, And The Component Model
26mDo More in the Browser with Wasm Components
30mWasm Component Composition: A New Era of Language Interoperability
34mWasm Components: The Interchangeable Parts of Software
23mFuture of Component Tooling
53mWebAssembly
