Tshepang Lekhonkhobe: Behind The Scenes Of Producing An Executable
summary
Shows the exact pipeline from cargo run to a working binary: parsing to AST, macro expansion, name resolution, lowering to HIR and MIR, borrow checking, then emission of LLVM IR and object code and the final link step. Demonstrates tool outputs and a tiny example that generates about 120 lines of RISC-V assembly, explains where checks and optimizations happen, and produces a runnable executable so the whole chain is verifiable.
AI-written summary · about
chapters (8)
- 0:00Start
- 1:26about
- 4:29AST processing
- 6:27code elimination
- 7:32macro expansion
- 13:11lowering to HIR
- 14:49digression: RISC-V
- 25:24The final steps
related talks
58m(Almost) Everything You Should Know About The Compiler Frontend
48mWriting a compiler with LLVM
26mHow Rust Compiles - Noratrieb
39mDemystifying LLVM: Writing Your First Compiler - The Good, The Bad, The Ugly
01h 02mBack to Basics: The Structure of a Program
25mMaking Tools for Rust: An Introduction to the Compiler and How It Can Help You
56mReady for Rust
23mLearnable Programming with Rust
