Wasm Component Composition: A New Era of Language Interoperability
summary
Claim: WebAssembly Component Model plus Spin removes FFI pain by composing real components end to end. Demo composes bubble-sort (JavaScript) and merge-sort (Rust) components, uses cargo component build and jco to produce components, uses wasome tools/wit importization and whack composition to link plug/socket without rebuilding the socket, and shows Spin with the spindeps plugin automating bindings and registry pulls (GHCR) — the demo runs successfully though terminal fiddling is required; current socket support: Rust and JS/TS, Python planned.
AI-written summary · about
chapters (14)
- 0:00Welcome
- 1:03WebAssembly component model
- 2:31Component-based apps benefits
- 3:55Manual composition demo
- 12:37Manual composition challenges
- 13:20Spin for easier composition
- 15:49Spin templates & dev experience
- 20:22Spin workflow demo
- 20:43Spin Deps plugin
- 24:18How Spin Deps works
- 25:22Installing components
- 27:05Limitations & future roadmap
- 28:11Key insights recap
- 29:13Q&A
related talks
01h 01mAn introduction to WebAssembly components
34mWasm Components for Every Language
18mAn introduction to the WebAssembly component model
39mJavaScript Toolchain for WebAssembly Components
34mWasm Components: The Interchangeable Parts of Software
36mBootstrapping Ecosystems: Unveiling the Power of the Component Model
39mThe WebAssembly Component Model - Rocketfuel for WebDevelopment and APIs
37mExploring C# Wasm Components
