Rust Glancer: Rust LSP using 100x less RAM
81–90 of 129 posts
Re: Rust Glancer: Rust LSP using 100x less RAM
#82Hey! Author here. Happy to answer any questions.
Re: Rust Glancer: Rust LSP using 100x less RAM
#83Earlier quoted context omitted.
Did you just create a new account so you could keep arguing with people?
Yes. HN is groupthink central, and enforces it through down votes, which marks the account as low quality, which then turns off commenting for that account. It is a classic negative feedback loop that enforces the groupthink. You can tell how many accounts I've created by the account number.
Re: Rust Glancer: Rust LSP using 100x less RAM
#84> It can use very little memory (target We live in a strange world.
Re: Rust Glancer: Rust LSP using 100x less RAM
#85While I respect the work behind rust-analyzer greatly and think it's a good part of how cool the language is, I will NEVER understand the design decision to flat out refuse using disk cache. I understand the argument that implementing this puts less pressure behind speeding up the indexing process, but honestly with the price of ram today I'm tired of the memory and cpu usage each rust-analyzer process takes up. Espe…
rust-analyzer taking 2GiB of RAM per instance definitely hurts. And I agree that efforts to reduce this are noble and warranted, but I worry about what doesn’t happen because of those optimisations. The rust tooling is just so-so good (and a better argument for the language than memory safety imo), so I support more efforts to be ergonomic over memory optimisation. Even though rust-analyzer is often the largest memor…
It compresses well though on average, if you have something like zram (I think windows/mac do something similar). When you get multiple projects open each with their own rust analyzer though, it starts to bite
Re: Rust Glancer: Rust LSP using 100x less RAM
#86Re: Rust Glancer: Rust LSP using 100x less RAM
#87Hey! Author here. Happy to answer any questions.
Re: Rust Glancer: Rust LSP using 100x less RAM
#88I couldn't find good TLA+ bindings for Neovim, so I got Claude to hack together an LSP server for it [1]. It works shockingly well, and it only took about an hour of arguing with Claude to do it.
I find it's not terribly good at actually writing TLA+ (with some very recent tests with Fable), so I'm not completely useless yet.
Re: Rust Glancer: Rust LSP using 100x less RAM
#89Earlier quoted context omitted.
Not if an LLM writes your code. I get thousands of lines of high quality Rust per day without ever stepping into VScode.
Very little quality, let alone high-quality, code is written in VSCode.
Re: Rust Glancer: Rust LSP using 100x less RAM
#90Tangential, but I've found something LLMs are actually ridiculously good at is making LSP servers. I couldn't find good TLA+ bindings for Neovim, so I got Claude to hack together an LSP server for it [1]. It works shockingly well, and it only took about an hour of arguing with Claude to do it. I find it's not terribly good at actually writing TLA+ (with some very recent tests with Fable), so I'm not completely useles…
So all in all -- yeah, LLMs can be good _domain experts_ when you build an LSP, but a) I wouldn't trust them blindly, and b) the quality of code is still very much your responsibility.