WebAssembly for Web Developers
summary
WebAssembly compiles existing C/C++ and Rust libraries into browser modules: MozJPEG compiled to WebAssembly powers Squoosh, replacing the browser JPEG encoder to produce smaller files and expose advanced options; image rotate benchmarks show JavaScript timings ranging 400 ms vs 8 s variance while multiple wasm implementations cluster around ~500 ms, giving far more predictable performance. Tooling notes: emscripten offers POSIX emulation (watch bundle size), wasm-pack for Rust, AssemblyScript TypeScript→Wasm exists, and platform features landing or planned include Chrome 74 ships threads, SIMD, reference types and web IDL bindings.
AI-written summary · about
chapters (16)
- 0:00Introduction to WebAssembly
- 1:31How WebAssembly works
- 4:04Real-world WASM examples
- 5:32Emscripten and C++
- 7:14WASM for web developers
- 9:42Squoosh app case study
- 12:23The compiling process
- 14:17Rust and WASM
- 17:36Predictable performance
- 21:12AssemblyScript introduction
- 23:15Best practices for WASM
- 26:26WebAssembly threads
- 29:03Atomic operations
- 31:41SIMD proposal
- 34:33Host interop and bindings
- 37:19Future WASM features
related talks
25mWebAssembly: Binary in Plain English
53mWebAssembly – To the browser and beyond!
39mWebAssembly for the rest of us
25mFast future with WebAssembly
23mWebAssembly for the rest of us
41mLet's build with WebAssembly!
20mWeb Assembly: The Future of JS and a Multi-Language Web
42mWebAssembly? Web and Assembler? WTF!
