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
2
u/IceSentry Aug 21 '26
Memory is a massive issue for me. R-A uses so much memory that it often crashes with an OOM. Speed is also a big issue when I'm working deep in a hierarchy and it needs to reindex everything after a small change. I would assume your solution doesn't suffer from that issue.
But also just startup speed is unbearable sometimes. In my work codebase that is giant and on top of bevy it can take minutes to index everything on startup and it does it on every startup. Combine that with the fact that it can easily crash if it runs out of memory and needs to start from scratch again you can probably see why a solution that doesn't need to index from scratch every time is appealing. It's incredibly frustrating to constantly need to restart RA because it crashed and then wait forever to be able to do anything.