»Schedule // Talk
October 15, 2026
13:45–14:15
Side Track
Building a Query System
At the heart of the Rust compiler is a query system; it caches intermediate results within the compiler and helps organizing them. It is the key to Rust's efficient incremental compilation. But ... there are _other_ Rust compilers. The rust-analyzer LSP is effectively a compiler unto itself; it uses the salsa query system, not rustc's internal one.
I'm writing my own Rust compiler, looking for large-scale changes that could unlock better compilation speed. I looked at the existing query systems and wanted to explore some new ideas, so I built my own! In this talk, I'm going to explain how my compiler's query system works relative to salsa. For a concrete benchmark, I'll implement Cargo dependency resolution using both query systems and compare their performance.
Speaker
Arya Dradjica
As a programmer, Arya's motto is that things can always be better. Having started out with C and C++, she fell in love with Rust a few years ago and hasn't looked back. She's interested in compiler architecture, optimization, networking, and cryptography.
By day, she works as a software engineer at NLnet Labs, building open-source Rust-based DNS products. On the side, she's trying to design a high-performance Rust compiler.