Rust Glancer: Rust LSP using 100x less RAM
The wire account details a Rust LSP (Language Server Protocol) project called Rust Glancer, developed over four months with a focus on low memory usage. The source material notes that Rust Glancer consumes significantly less RAM than the popular rust-analyzer, which is a key benefit for older computers. However, the project is still incomplete and has several limitations, such as being slower due to frozen analysis and lacking full functionality.
Rust Glancer offers a frozen analysis approach, indexing the workspace once and preserving results in the filesystem for quick query access. The source also mentions that while Rust Glancer has some advantages over rust-analyzer, like lower memory usage, it may not become a better alternative due to its incompleteness. The author has a history of contributing to Rust's tooling and has a strong understanding of the language and compiler's internals.
Despite the project's limitations, Rust Glancer aims to cater to users with weaker machines or those willing to accept sacrifices for reduced RAM usage.
Written by urgent.news from Hacker News's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.