An Incrementally Spicier rust-analyzer
summary
rust-analyzer migrates to a new Salsa backend and reports concrete wins and pains: a tricky self-referential interning problem and an initial 5x memory usage regression that peaked near 10 GB then falls to ~2.3 GB after fixes. Incremental operations become far faster — adding a dependency drops from about 30 seconds to 300 milliseconds — and the engine gains fixed‑point iteration, planned persistent caches, GC for interned values, and prospects for parallel autocomplete and much lower completion latency.
AI-written summary · about
chapters (12)
- 0:00Rust Analyzer introduction
- 1:10Incremental computation
- 6:12Caching and invalidation
- 9:48What is Salsa and how it helps
- 11:54Salsa in Rust code
- 13:20When you might not need Salsa
- 14:02Core Salsa concepts
- 18:34Salsa benefits for Rust Analyzer
- 20:17New Salsa features
- 25:35Salsa memory management
- 27:22Salsa GC and revisions
- 30:36Q&A
related talks
25mAre we *actually* IDE yet? A look on the Rust IDE Story
28mAre we actually IDE yet? - A look on current Rust IDE story
33mRust at Sentry: 7 Years Later
40mRust’s approach of getting things right
41mGrappling with growth, and other good problems to have
14mAn Empirical Study of Bugs in the rustc Compiler
56mWhen to Choose Rust
24mRust performance debugging with TUIs and LLMs
