~/talk

The status of parallel rustc

Talkat RustNL 2023 · on Wednesday, 2023-05-10· [rust, compilers-and-language-design]
slides:none on file

Rustc adds a parallel front end based on rayon that swaps serial types for thread-safe versions (Lrc→Arc, RefCell→Mutex/RwLock), shards global hash tables, and exposes threading via -Z threads; the single-threaded parallel build now costs about 2% overhead (was ~6%), while multi-threaded runs show varied gains, often 10–20% faster on small thread counts. Plan: land in nightly first, then make multi-threading the default later; benchmarks use ~40 programs and instruction counts.

AI-written summary · about

  1. 0:00Start
  2. 0:42Parallel execution
  3. 0:53cargo
  4. 2:27back-end
  5. 5:33Shipping strategy
  6. 5:461. Parallel front-end, single-threaded by default
  7. 6:50Performance tracking
  8. 9:09Conclusion
~/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.