Rust Glancer: Rust LSP using 100x less RAM

(rust-glancer.github.io)

52 points | by matklad 7 hours ago

6 comments

  • mayli 2 minutes ago
    RA with disk cache?
  • matklad 7 hours ago
    To clarify, author is https://github.com/popzxc, not me! My thoughts are here: https://matklad.github.io/2026/08/21/rust-glancer.html
    • dang 1 hour ago
      Your thoughts are quite cool! but I thought featuring the project itself would make more sense for a frontpage thread, so I'm going to merge the comments (such as they are) from https://news.ycombinator.com/item?id=49392654 and add your link to the toptext above. Thanks for drawing attention to this topic!
  • skavi 2 hours ago
    Waiting for RA to build up the full in memory data structure for a large workspace is so painful. Honestly, I'd just assumed that was the only way and didn't realize Rust Rover was different.

    Does anyone have experience using that? Any tradeoffs?

  • 762236 2 hours ago
    Why don't people explain their acronyms? What is a Rust LSP?
    • xixixao 2 hours ago
      People communicate with regards to the audience they expect.

      This is why Rust (it’s a systems programming language) and LSP (the language server protocol invented by VS Code) are not explained in the article.

      I am hoping I don’t have to define the words I used, but if in doubt, Google or ChatGPT are your friends.

      • 762236 2 hours ago
        It makes sense to always explain acronyms. I always do to avoid random people reaching out for more explanations
        • sfdlkj3jk342a 1 hour ago
          > It makes sense to always explain acronyms.

          It does up until a point. Would you say the same about "AI"? What about "LLM"?

          On HN (Hacker News), I expect that most would find a definition for AI or LLM to be redundant today. LSP is borderline in my opinion, especially when the context of Rust is already given.

    • francislavoie 2 hours ago
      Language Server Protocol, it's what your IDE (like VSCode or other) uses to do linting, syntax checking, and "go to reference" stuff.
    • Fnoord 1 hour ago
    • IshKebab 2 hours ago
      LSP is a well known term among programmers these days.
      • 762236 2 hours ago
        Not if an LLM writes your code. I get thousands of lines of high quality Rust per day without ever stepping into VScode.
        • AdieuToLogic 25 minutes ago
          > Not if an LLM writes your code. I get thousands of lines of high quality Rust per day without ever stepping into VScode.

          LSPs are orthogonal to both LLMs and VSCode. For example, see Metals[0].

          0 - https://metals-lsp.org/

        • wtetzner 1 hour ago
          Then why not just ask the LLM to explain what LSP stands for?
        • nasso_dev 1 hour ago
          what's an "LLM"? ;3
        • 0x457 1 hour ago
          Very little quality, let alone high-quality, code is written in VSCode.
        • polyaniline 1 hour ago
          How do you know it's high quality?
          • 762236 1 hour ago
            I made myself an expert at Rust before I started using LLM's, and I review the code.
            • verandaguy 1 hour ago
              You made yourself an expert in Rust and have never heard of an LSP?

              This seems surprising to me given that Rust was one of the first languages to broadly advertise a toolchain and editor integrations which rely on the technology.

            • polyaniline 1 hour ago
              Props to you. I've been writing Rust for around 7 years now and I couldn't QA 1000s of lines per day.