A Pythonista's Introductory Guide to Web Assembly
summary
Explains concrete results and tools: piodide runs CPython compiled to Wasm in the browser, uses emscripten/LLVM and runtimes like wasm3 and wasmer for Python, and reports a numeric benchmark where Wasm runs about 40× faster than Python (native C about 80× faster than Python in the example). Shows hand‑writing .wat, assembling to .wasm, and building a tiny compiler that emits .wat/.wasm with imports for I/O and a working demo.
AI-written summary · about
chapters (34)
- 0:00Start
- 0:42Ariel Ortiz
- 3:30Web Assembly
- 6:01Features
- 11:47Disadvantages
- 12:35Garbage Collection
- 16:43Wazi
- 18:15Tutorial Notes
- 21:14Visual Studio Code
- 22:16Font Size
- 22:34Themes
- 25:36Set some Environment Variables
- 30:24Stop Workspace
- 35:43Numpy
- 43:43To Run an Http Server in Python
- 46:473 2 Exercise a
- 48:15Hamburger Menu
- 56:57Exercises
- 1:00:11Data Types Supported in Webassembly
- 1:02:03What Is the Stack Machine
- 1:13:11Type Annotations
- 1:19:39Validation
- 1:22:09Convert the Wet Sort File into Binary Wasm
- 1:23:32Webassembly
- 1:26:28Exercise B
- 1:32:01Type Mismatch
- 1:40:42Local Variables
- 1:49:33Representing Variables
- 1:50:10Write Operation
- 1:53:45Ascii Characters
- 1:54:57Input
- 1:56:35Symbolic Constants
- 2:06:51Code Generation
- 2:07:04Code Generation Function
related talks
31mThe CPU in your browser: WebAssembly demystified
29mWhat can't WebAssembly do?
31mThe CPU in your browser: WebAssembly demystified
53mWASM Wonders Decoding WebAssembly's Inner Workings
16mWhy WebAssembly
37mDecoding the hype behind WebAssembly: Looking under the hood
42mWebAssembly? Web and Assembler? WTF!
19mHacker’s guide to Web Assembly
