Livecoding a WebAssembly interpreter
summary
Livecodes an Elixir WebAssembly interpreter that reads .wasm binaries, parses sections and the code section, disassembles with wasm-objdump, and executes basic instructions (local.get 0x20, i32.const 0x41, sub 0x6B, call, if 0x04, end 0x0B). Builds a minimal module struct, supports the exported Fibonacci module and tests verify fib(4) == 5. Notes Lumen as an Erlang/Elixir-to-WASM effort and flags practical limits like no garbage collection and missing concurrency support.
AI-written summary · about
chapters (14)
- 0:00Start
- 1:22What Webassembly Is
- 1:40What a Webassembly Can Be Used for
- 3:52Webassembly
- 4:47What Is Webassembly
- 6:54Creating a New Project
- 9:13Import File Function
- 12:09Apply Function
- 12:55Parsing
- 19:55Wasm Object Dump
- 21:34Disassembly
- 26:08Add Constant 2 to the Stack
- 27:04Compare if a Is Smaller than B
- 36:47Test Run
related talks
44mLumen - Bringing the BEAM to WebAssembly and Beyond
14mI compiled WebAssembly to lambda calculus! A journey into esoteric programming
01h 08mOn WebAssembly
23mWebAssembly for the rest of us
43mMeet Your Future - WebAssembly
37mDecoding the hype behind WebAssembly: Looking under the hood
53mWebAssembly
50mAn Introduction to WebAssembly
