top | item 42407272 (no title) osa1 | 1 year ago The article doesn't mention rust-analyzer (the language server), I wonder how much of this infrastructure is also used by rust-analyzer? discuss order hn newest thramp|1 year ago (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. pabs3|1 year ago Will rust-analyzer ever be safe to run on untrusted code?
thramp|1 year ago (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. pabs3|1 year ago Will rust-analyzer ever be safe to run on untrusted code?
thramp|1 year ago
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.
pabs3|1 year ago