Portable, secure, and lightweight: Wasm runtimes and their use-cases
summary
Claim: WebAssembly plus WASI-enabled Wasm lets the same low-level module run in the browser, at the edge, or on the server with controlled host access and stronger sandboxing. Demo compiles a small JS function to Wasm and runs it under Wasmtime using Shopify’s Javi, producing identical output outside the browser. Real use case: Pagefind (Rust→Wasm) performs client-side search while keeping pages statically generated. Notes: 16 million JavaScript developers, 27-year-old language, preview standards and incomplete toolchains remain tradeoffs.
AI-written summary · about
chapters (12)
- 0:00Introduction to JavaScript and WebAssembly
- 3:54Why JavaScript dominates frontend
- 7:12Performance and user attention spans
- 9:42Meta frameworks and server-side rendering
- 13:18WebAssembly use cases in UIs
- 16:12What is WebAssembly
- 20:08Portability with WASI
- 23:48Isomorphism and trimorphism
- 26:19Demo: Running code outside the browser
- 31:21Security and memory safety
- 32:48Tradeoffs and challenges
- 33:50Resources and closing
