Building a Compiler - Optimization and Register Allocation
HTML-код
- Опубликовано: 18 сен 2024
- My compiler works, but it's painfully inefficient. It's time to invent a solution to tracking register state, so that we don't need to do quite so much via the stack. It turns out this is a bit more complicated than my previous back of the napkin sketches!
Stream date: 2024-09-09
Support the stream: ko-fi.com/tomm...
Source: github.com/phy...
Streamed live @ / tommarkstalkscode
Join my Discord: / discord
Follow me at coding.tommark...
Email: tom@tommarks.xyz
Why don’t use llvm?
Good video. Would like if you make it shorter for RUclips instead a raw live
I will follow the progress ✌🏻
Why everyone writes a compiler in Rust?
Its fast and very safe. Very good language choice for a compiler.
It's a good project for learning a language, and lots of people are interested in Rust. As @TotalTimoTime mentioned the memory safety features are also very good for making this kind of thing relatively bulletproof.