Supervising your WebAssembly Components with Wasmex
summary
Claims that Wasmex 0.10 lets Elixir run supervised WebAssembly Components using wasmtime via rustler and wasmtime, mapping WIT types to Elixir types and generating idiomatic call functions from a macro. Demonstration builds a chat component (JavaScript module) wired to Phoenix LiveView and OTP supervision, intentionally crashes on a secret word and the supervisor restarts the component so the service keeps running. Roadmap items include resources, finer capability config, and preopens.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 1:07What is Elixir
- 8:48Phoenix Live View
- 12:20Introducing Wmex and WASM
- 15:34Building WASM chat
- 17:17Consuming WASM in Elixir
- 20:55Resilience with crashes
- 23:12Future of Wmex and WASM
- 25:16Q&A
related talks
39mThe WebAssembly Component Model - Rocketfuel for WebDevelopment and APIs
36mBootstrapping Ecosystems: Unveiling the Power of the Component Model
53mDeveloping WebAssembly Rust plugins for Zellij
47mRewrite the web with Rust and Web Assembly
32mBringing WebAssembly outside the web with WASI
06mFor The Love Of Web Assembly
10mSSR Web Components Everywhere (with WASM)
22mWebAssembly beyond the browser
