What's taking so long?!
· 1h 35m
We love Rust at Oxide, but the haters aren’t wrong: builds can be slow. Bryan and Adam are joined by Sean Klein, Rain Paharia, and Steve Klabnik to discuss techniques for analyzing and accelerating Rust builds. In addition to Bryan Cantrill and Adam Leventhal , speakers included Sean Klein , Rain Paharia , and the illustrious Steve Klabnik. Some of the topics we hit on, in the order that we hit them: go forth and vibe in this minecraft paradise I seeded Dinosaur book Roslyn --timings Steve's "outlining" example Rain's cargo-hakari Rain speeding up Omicron builds Blog post on many of these…
Chapters
- Gen Z Bible and Minecraft book
- Compile times and the Sun nightly build
- Long compiles as useful work
- Omicron monorepo and build growth
- Absolute build times and timers
- History of incremental compilation
- Rust tooling and nice things
- Rust Analyzer and compiler architecture
- Finding where build time goes
- Cargo timings and crate-level builds
- Proxy signals: LLVM lines and bloat
- Generics, monomorphization, and shims
- Trait objects versus generics tradeoffs
- Feature unification and cargo-hakari
- Unit graphs and rebuild debugging
- Panic settings and proc macros
- Proc macro performance and self-profiling
- Link times and the mold linker
- WASM proc macros and sandboxing
- Buck2 and distributed caching
- Build Systems à la Carte paper
- Adopting Buck2 and trade-offs
- Wrap-up and closing thoughts
Speakers
Adam Leventhal (host), Bryan Cantrill (host), Sean Klein, Steve Klabnik, Rain Paharia
From the transcript
this is where we do the intro music this is the oh yeah uh you said you had been working on a rap that you wanted to try out you know i told you that in confidence a very vulnerable moment so if i were going to rap anything it would be…