Hacker News new | ask | show | jobs
by osa1 546 days ago
The article doesn't mention rust-analyzer (the language server), I wonder how much of this infrastructure is also used by rust-analyzer?
1 comments

(I work on rust-analyzer)

We don't share the query infrastructure in rust-analyzer, but rust-analyzer is a query-driven system. We use Salsa (https://github.com/salsa-rs/salsa/), which is strongly inspired by rustc's query system, down to the underlying red/green algorithm (https://rustc-dev-guide.rust-lang.org/queries/incremental-co...), hence the name: Salsa.

Will rust-analyzer ever be safe to run on untrusted code?