# rust-analyzer

19 Hacker News commenters recommended rust-analyzer and 21 criticized it, November 2025 to November 2026. It was recommended in 8 of 13 months.

**Verdict:** Free, widely used Rust language server giving accurate errors and code analysis; people note heavy memory use across multiple workspaces.

## Why people recommend it

- Accurate Rust analysis, better than other IDEs (2 comments): "I also highly doubt that any IDE, whatever that is, is better at analyzing Rust code than rust-analyzer is." ([source](https://news.ycombinator.com/item?id=48186352)) "their amazing rust analyzer in rustrover" ([source](https://news.ycombinator.com/item?id=46362776))
- Reports errors before compiling (2 comments): "Let rust-analyzer tell you if there are errors before you even try compiling." ([source](https://news.ycombinator.com/item?id=46028357)) "language servers like rust-analyzer do essentially replace cargo check" ([source](https://news.ycombinator.com/item?id=49457717))
- Lightweight and snappy (2 comments): "rust-analyzer is a very lightweight solution" ([source](https://news.ycombinator.com/item?id=46731700)) "Rust's LSP server is pretty snappy" ([source](https://news.ycombinator.com/item?id=47229788))
- Works well for many setups (2 comments): "rust-analyser LSP also worked great for me" ([source](https://news.ycombinator.com/item?id=49799726)) "rust-analyzer is a great LSP" ([source](https://news.ycombinator.com/item?id=48076907))

## What people warn about

- High memory use per workspace (5 comments): "It regularly goes over 13gb in my large workspace so I have to configure it to run in a cgroup" ([source](https://news.ycombinator.com/item?id=49399097)) "rust-analyzer taking 2GiB of RAM per instance definitely hurts." ([source](https://news.ycombinator.com/item?id=49397853)) "frequently running out of RAM due to all the Rust analyzer, Dart analysis server, and Ty LSP servers" ([source](https://news.ycombinator.com/item?id=48295884))
- Slow indexing and frequent restarts (3 comments): "Waiting for RA to build up the full in memory data structure for a large workspace is so painful." ([source](https://news.ycombinator.com/item?id=49395537)) "I've found that I need to completely restart rust-analyzer far more often than I'd like" ([source](https://news.ycombinator.com/item?id=46036349)) "I would really appreciate if rust analyzer was faster, actually." ([source](https://news.ycombinator.com/item?id=47226742))
- Runs build scripts and proc macros automatically (2 comments): "rust-analyzer will automatically run the build.rs before you have a chance to audit the code" ([source](https://news.ycombinator.com/item?id=49375533)) "Rust Analyzer executes proc macros as soon as you open the project" ([source](https://news.ycombinator.com/item?id=49389594))
- Trouble with some setups and code (2 comments): "I've seen enough issues with rust-analyzer in the wild with coworkers having trouble getting it working well for their setups" ([source](https://news.ycombinator.com/item?id=49404200)) "rust analyzer fails 13 lines into my main.rs file because I use something rust analyzer just doesn't work with that well" ([source](https://news.ycombinator.com/item?id=46363458))

## Alternatives hackers recommend

- [clangd](https://hackerapproved.com/p/clangd.md): 15 recommend
- [Rust Glancer](https://hackerapproved.com/p/rust-glancer.md): 10 recommend
- [gopls](https://hackerapproved.com/p/gopls.md): 9 recommend
- [markdown-oxide](https://hackerapproved.com/p/markdown-oxide.md): 6 recommend
- [ruby-lsp](https://hackerapproved.com/p/ruby-lsp.md): 6 recommend

## Cite as

Hacker Approved, "rust-analyzer", https://hackerapproved.com/p/rust-analyzer/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
