What’s inside WebAssembly
summary
Builds a working cellular automaton in wasm text format that compiles to a binary, exposes memory and globals to JavaScript, and renders evolving rows in the browser; implements index, load/store, bit-shift packing of three neighbor bits, an eight-entry function table for rules, and an evolve loop that actually runs. Demos include small grids (row size 5), larger runs (115), shows Rule 30 chaotic behavior and notes WebAssembly Studio + AssemblyScript for compiling and debugging, and confirms the code works in-browser.
AI-written summary · about
chapters (16)
- 0:00Start
- 0:41Recap
- 2:13Automata
- 2:39Grid and Rules
- 6:00Richard Feynman
- 9:46Webassembly Is Stack Based
- 10:33Push
- 11:48Stack Machine
- 16:52Row Size Global
- 21:17Add some Memory
- 25:12Binary Shifting
- 32:04Sierpinski Triangle
- 35:02Game of Life
- 38:06Assembly Script Project
- 39:58What's Your Favorite Language for Writing Web Assembly
- 45:47Debugging Capabilities








