Live Coding
summary
The talk demonstrates live-coding an interpreter for the esoteric language Brainfuck using the Rust systems programming language, showing Rust’s ergonomics and friendliness despite its systems focus. It covers building the interpreter step-by-step in about 20 minutes to illustrate Rust’s approach to safety and low-level programming.
AI-written summary · about
chapters (24)
- 0:00Introduction
- 1:05What is Rast and Brainfuck
- 2:29Cargo tool and scaffold
- 4:24Rast syntax and macros
- 5:31Brainfuck instructions and addition
- 7:19Debugging with The Book
- 8:23Parsing function in Rast
- 10:10Instruction types and vectors
- 12:06Pattern and type mismatches
- 14:54Immutability in Rast
- 15:56Deriving interfaces
- 17:01Program structure
- 18:04Type modeling in Rast
- 20:58Data and behavior in Rust
- 21:44Method implementation
- 23:26Running the program
- 24:07Run function and loops
- 25:12Implementing add one
- 26:19Ownership and memory errors
- 27:20Resource management
- 28:45Mutable references
- 29:26Completing the program
- 30:13Program variations
- 30:55Mandelbrot example








