Course
WebAssembly for Web Developers
WebAssembly from the JavaScript side — loading modules, crossing the JS/Wasm boundary without burning performance, compiling Rust and C, and knowing when the complexity is actually justified.
Reviews
Enrolled members can rate this course.
No reviews yet.
The Wasm Mental Model
What WebAssembly really is, how JavaScript loads it, and how the two runtimes talk to each other.
- 01What WebAssembly Actually IsThe execution model behind Wasm — a sandboxed, typed, ahead-of-time-compiled guest inside the JavaScript host, not a magical faster JavaScript.20mOpen
- 02Loading and Instantiating ModulesWebAssembly.compileStreaming, instantiate, imports and exports, caching, MIME types, and the operational details that make loading boring instead of fragile.18mOpen
- 03JS/Wasm Interop Without Losing Your MindNumeric signatures, exported memory, string marshalling, callbacks into JavaScript, and why every boundary crossing deserves a design decision.22mOpen
Building Real Modules
Compiling Rust and C to Wasm, moving data across the boundary, and building a workflow you can debug.
- 01Compiling Rust to WebAssemblyThe Rust wasm target, wasm-bindgen, wasm-pack, release profiles, panic behavior, and the practical path from Rust crate to browser module.25mOpen
- 02Compiling C to WebAssemblyEmscripten versus bare Clang, exported functions, memory initialization, filesystem emulation, and how legacy C code becomes a browser-safe compute kernel.24mOpen
- 03Linear Memory and Data MarshallingArrayBuffer views, pointer lifetimes, memory growth hazards, serialization formats, and the allocation discipline that prevents corruption and leaks.23mOpen
Performance and Production
When Wasm wins, when it loses, and how to ship, measure, and operate it responsibly.
- 01The Performance Tradeoffs That Actually MatterBoundary-crossing costs, batching, worker placement, SIMD and threads, startup cost, and how to benchmark Wasm against JavaScript honestly.26mOpen
- 02Use Cases That Justify the ComplexityThe workloads where Wasm earns its keep — codecs, compression, parsing, simulation, cryptography-adjacent kernels — and the ones where it's architectural vanity.19mOpen
- 03Debugging, Shipping, and Operating WasmSource maps and symbols, deterministic repro, caching headers, versioning, observability, rollback strategy, and the operational practices that keep Wasm maintainable.21mOpen