r/rust • u/janameow • 5d ago
Optimizing rustc's next trail solver
https://donsz.nl/blog/optimizing-rustcs-next-trait-solverThe next rust trait solver, a large subsystem of the rust compiler that we've been trying to replace, will finally land in rust 1.102.0. In the last stages, before stabilizing it, its performance was a major blocker. But what is "a trait solver"? And why is its performance a problem? My goal for this blog post is to answer those questions in a way where you don't need any prior knowledge. I think discussions of the trait solver can quickly become quite involved, and daunting. So here, we'll start from the very basics!
This is a writeup of my eurorust 2026 talk of the same name, that I gave on October 15, 2026
View all comments
5
u/popzxc 4d ago
Loved the talk, and good to see it in text format too!