Virtually Instructional
summary
Compares BEAM to Parrot and JVM by showing real disassembly: compiling Elixir to a .beam, peeking with a hex viewer, using df/erts disassemble and javap, and stepping a running system to watch instructions morph into superinstructions. Notes concrete counts — 158 instructions in BEAM (maps added in OTP 17) and a single Elixir function expanding to 31 instructions — and demonstrates register types, message-receive code, tail-call elimination and that optimizations and BIFs actually happen.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:24Beam Files
- 5:58Register
- 10:27Stack vs Register
- 11:38Threading
- 13:29Disassembled function
- 18:27Receiving messages
- 23:17Other instructions
- 25:14Final example
- 27:15Conclusion
related talks
54mKeynote: Adoption
44mLumen - Bringing the BEAM to WebAssembly and Beyond
43mLivecoding a WebAssembly interpreter
35mInside the Wizard Research Engine
44mInside the Wizard Research Engine
41mBuilding a Graphical IDE in Elm/Purescript
20m61 736D: An Introduction to the Binary Magic of WASM
40mWhamm! A WebAssembly Bytecode Instrumentation DSL
