Rust in the Browser for Javascripters:New Frontiers,New Possibilities
summary
Rust compiles to wasm and emits a ready NPM package with real TypeScript bindings, letting JavaScript call into Rust via a shared Uint8Array memory and tiny pointers instead of copying big objects. Examples include a Game of Life with exhaustive pattern matching and generated enums and an extremely fast NES emulator whose same code compiles natively or to the web. Claims: zero‑cost abstractions, threads without data races, small payloads compared to typical Go wasm outputs.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 1:16What is Rust
- 4:19Type Inference
- 7:14Minimal Runtime
- 11:44Debugging
- 17:12Shared Memory
- 19:31The Game of Life
- 21:32Component Libraries
- 24:53Syntax
related talks
30mRust and the Web Platform: A Rookie’s Guide
44mOut of the JavaScript Box: Front-End Rust Programming
22mExtending JavaScript with Rust
44mWhy you should consider WebAssembly in your next frontend project
43mWhy you should consider Web Assembly in your next frontend project
20mUsing Rust and WASM
25mThink About Front-end Web Development with Rust
41mLet's build with WebAssembly!
