The CPU in your browser: WebAssembly demystified
summary
WebAssembly is a virtual CPU that runs the same binary in browsers, Node.js and Wasmtime; C compiles to .wasm, disassembles to WAT, and JITs to native code for near‑native speed. Demo compiles a C factorial, instantiates it from JavaScript and Python and the demo works. By default there is no IO or filesystem access; hosts provide functionality via imports or runtimes like Emscripten and the standard WASI. Strings use a shared linear memory and require pointer reading.
AI-written summary · about
chapters (10)
- 0:00Introduction to WebAssembly
- 1:05What is WebAssembly
- 3:30WebAssembly as a virtual CPU
- 8:31WebAssembly limitations
- 9:15Importing functions in WebAssembly
- 13:47File system and sandboxing
- 17:38Future of WebAssembly features
- 19:02WebAssembly in Python
- 21:29Python in the browser
- 24:22Conclusion and Q&A








