WebAssembly: Browser is now a real virtual machine
summary
Claim: the browser runs a real VM and can execute native‑like code. Specifics: Rust compiled to WASM via LLVM and packaged with wasm-pack + wasm-bindgen; data passed through linear memory or typed arrays; no DOM access from threads yet. The demo mines blocks showing dramatic speed differences, with earlier runs ~2 minutes in JavaScript versus ~10 seconds in Rust and a later successful run at ~6 seconds. Build works but live UI updates need explicit shared memory wiring to avoid freezing.
AI-written summary · about
chapters (8)
- 0:00Start
- 3:19Emscripten
- 7:42Concurrency WebWorker, Service Workers
- 9:20Compile for the Web Architecture
- 13:39The Stack is the main point
- 23:18Open Standard
- 27:35Linear Memory
- 32:00Compiling? wasm-pack!








