~/talk

"The Current State and Future of Rust Compiler Performance"

Talkat RustConf 2024 · 2024-09-10..09-13· [rust]
links:none on file
slides:none on file

Rust compiler performance has doubled over recent releases through many small optimizations and several larger efforts: parallel-rustc landed in nightly with about a 30% average speedup, profile-guided optimizations yield 10–20% PGO gains, and switching to LLD on Linux cuts link time by up to 40%. Work includes redesigned hybrid data structures that keep single-thread loss to ~1–3%, per-thread allocators, and tooling to measure regressions; remaining problems include incremental compilation lagging C++, work-stealing deadlocks, and crate-level caching.

AI-written summary · about

  1. 0:00Introduction
  2. 1:45Compiler performance challenges
  3. 3:15Benchmarking compilation speed
  4. 4:21Community performance efforts
  5. 6:52Linker optimizations reducing time
  6. 8:41Code-level optimizations and limits
  7. 10:54Parallelizing compiler frontend
  8. 13:25Thread-safe data structures
  9. 15:43Multi-threaded memory allocation
  10. 17:09Hash table optimizations
  11. 18:40Parallel compilation challenges
  12. 19:47Future linking and incremental builds
  13. 21:39Future compiler design ideas
  14. 22:21Closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.