# Rust Glancer: An LSP Server That Uses Two Orders of Magnitude Less RAM

> Hacker News story 49392654 · language: en · submitted 2026-08-21
> Web version: https://zeli.app/story/49392654
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 33 · by [surprisetalk](<https://news.ycombinator.com/user?id=surprisetalk>) · 💬 6
[original](<https://matklad.github.io/2026/08/21/rust-glancer.html>) · [HN discussion](<https://news.ycombinator.com/item?id=49392654>)

## Summary

Rust Glancer, a functional LSP server for Rust, uses two orders of magnitude less RAM than rust-analyzer. This post, originally a comment on lobste.rs, shares thoughts on why rust-analyzer's architecture is overkill for most code, the potential for lazy analysis of function bodies, the challenges of proc macro support, and the idea of using rustc's .rmeta files for dependencies. The author advocates for a 'glance analyzer' architecture that splits the world into an incremental tip and a compact, on-disk base.

## Key quote

> This still seems to me to be the lowest-hanging watermelon here — split the world into arcy-pointy incremental tip of the iceberg, and mostly read-only, on disk, compact, dark, moist breeding ground for supply chain attacks.

---

## Cite

- Page: https://zeli.app/story/49392654
- Date: 2026-08-21
- Source: matklad.github.io (https://matklad.github.io/2026/08/21/rust-glancer.html)
- Hacker News: https://news.ycombinator.com/item?id=49392654

## Other languages

- zh: https://zeli.app/zh/story/49392654 · markdown: https://zeli.app/zh/story/49392654.md
- ru: https://zeli.app/ru/story/49392654 · markdown: https://zeli.app/ru/story/49392654.md
