| Rust Glancer: Rust LSP using 100x less RAM(rust-glancer.github.io) | |
| 284 points by matklad 16 hours ago | 55 comments | |
tl;dr: Rust Glancer is an alternative Rust LSP that targets under 100MB of RAM by ditching rust-analyzer's incremental salsa/rowan architecture in favor of a frozen analysis model persisted to disk and invalidated on save. It trades some keystroke accuracy and completeness for dramatically lower memory usage and instant re-indexing on restart, with indexing benchmarks roughly matching or beating rust-analyzer. Built over 4 months with heavy (but reviewed) LLM assistance, it already supports type inference, Chalk-based trait solving, and common LSP actions, and is usable as a daily driver despite missing features. | |
HN Discussion:
| |