Live data from Hacker News

Viewing profile — popzxc

popzxc

HN member
Joined
Sun, Jun 06, 2021, 6:35 PM UTC
HN karma
91
Public activity
23 items

About popzxc

https://github.com/popzxc

Recent public activity

  1. comment
    Comment #49729916

    I guess this is a feature worth announcing

  2. story
  3. comment
    Comment #49729636

    I think it's a great way to stop understanding what's going on in your terminal. IMHO the value of these nuggets is that you understand what you're doing and why; opening yourself …

  4. story
  5. story
    Show HN: Rust Glancer 0.2 – new Rust LSP server targeting <100mb idle RSS

    This is a major update of functionality, mainly incorporating early feedback, including from HN. The LSP got Zed/nvim & Windows support, was optimized for Bevy, and got significant…

  6. comment
    Comment #49406452

    And regarding salsa+rocksdb, actually Alex Kladov advocated exactly for that in the post about Rust Glancer and rust-analyzer architecture: https://matklad.github.io/2026/08/21/rus…

  7. comment
    Comment #49406440

    Well, it's hard to give a concise overview, but in short -- I use `wincode` for serde (without zero-copy deserialization though; I've tried zero-copy first with rkyv but it was not…

  8. comment
    Comment #49405931

    The exact shape is TBD (I target proc macros support for 0.3.0, whereas 0.2.0 will be about completeness/editors support), but in short -- I'm thinking about "plugin"/DSL architect…

  9. comment
    Comment #49405900

    On the first question -- auto imports is an example of a "heavy" functionality since we indeed need to scan more than is imported in the project, which is why I'm still working on …

  10. comment
    Comment #49402553

    Yup. Basically, I have been combining both a manager and IC role for years now, which certainly helps working with LLMs: I can "delegate", and I know when to "intervene". It certai…

  11. comment
    Comment #49402143

    > So you would essentially fully index only once per project, + whenever you upgrade dependencies or upgrade rustc? This is when you do full reindexing. > Is that only an increment…

  12. comment
    Comment #49402128

    Exactly. You pay higher RAM usage price once, for 5-30 seconds at the very beginning of the project (or if you make changes that invalidate the dependency graph, which is rather ra…

  13. comment
    Comment #49402073

    I would say that LLMs have really good understanding of LSPs, but they are not necessarily good at building them. Had I blindly followed the proposed flow, Rust Glancer wouldn't ha…

  14. comment
    Comment #49400012

    Storing structures mmapp'd is actually very tricky. I have experimented with rkyv initially having this idea in mind, but gave up because the machinery just to power the archive ty…

  15. comment
    Comment #49398054

    I will work on creating a more or less fair benchmark soon-ish, but right now the initial indexing typically consumes more RAM than rust analyzer does, but not awfully so. The diff…

  16. comment
    Comment #49398036

    Coming in the next release (as well as nvim)!

  17. comment
    Comment #49397544

    I’m not sure if RA intentionally uses storage space itself. It can use storage when running build scripts/expanding proc macros, or when running flycheck diagnostics. In both cases…

  18. comment
    Comment #49397029

    It's explained in the blog post, but in short: rust-analyzer stores the data it needs in memory all the time, while Rust Glancer might consume more memory during indexing (because …

  19. comment
    Comment #49396919

    Well, most of stuff is not really ambiguous: if you have a struct and found its inherent impl for it, then methods from this impl block are related to this structure. If `a` has ty…

  20. comment
    Comment #49396903

    Thanks for the coverage and kind words! The title of the post is a bit more ambitious than what I am confident to guarantee, but I'll try my best to live up to it ^_^" Some comment…

  21. comment
    Comment #49396859

    In a way. It uses a different architecture, so it's not exactly "RA with something", but the main idea is similar: everything is on the disk, stuff is loaded only when it's needed.…

  22. comment
    Comment #49396856

    Hey! Author here. Happy to answer any questions.

  23. story