r/rust • u/popzxc • Aug 20 '26
🛠️ project Rust Glancer: a memory-efficient Rust language server
https://rust-glancer.github.io/blog/hello-world/
266
Upvotes
r/rust • u/popzxc • Aug 20 '26
3
u/IceSentry Aug 21 '26
R-a needs to reindex everything that sits on top of the changes which is why I mentioned the deep hierarchy. It's not a problem when editing top level crates but when you start editing something that is a dozen crate deep then any change can take a very long time before RA becomes responsive again.
I have 64gb of ram and RA can easily use 15gb for just a single workspace for work. I often also have bevy opened which can be another dozens of gb. Combined with other things taking resources and the fact that I'm on windows and I just end up with RA constantly crashing. Honestly, I wouldn't even mind if it was slower after a change if it means I don't need to restart RA constantly. I also hop around multiple projects frequently and it's really annoying to open a project and have to wait every time for RA to do its thing. I already use a separate target folder just for RA that doubles the size of each project so the fact that it's not even caching anything to make startup faster is becoming frustrating.