»Schedule // Talk
Friday, October 10, 2025
14:30–15:00
Main Stage
How Rust Compiles
Whenever you run cargo build
, you get a native executable. To see how rustc gets there, we’ll break down the high-level architecture of Rust’s compilation model and understand how the individual parts like LLVM and the linker interact and discover what each of the components is and does. We look into how generics, #[inline]
, and LTO behave and relate and will be able to use this knowledge to get more control over how our programs are compiled and optimized for the best runtime or compile time performance.
Speaker
Noratrieb
I’ve been on the compiler team for almost 3 years and contributed to every part of the compiler from the parser to linking. Additionally, I’m a member of the libs contributors team and have reviewed many PRs to the standard library. My most famous work in rustc was the improved cfg error messages added in Rust 1.72.0. As an active member of the Unofficial Rust Community Discord I frequently help other Rustaceans with all kinds of questions.