this post was submitted on 23 Sep 2025
9 points (71.4% liked)

Programming

22872 readers
140 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Ephera@lemmy.ml 14 points 5 days ago (1 children)

Man, I don't know what kind of CLIs this guy is building, where you need to keep long-lived references around and whatnot.
CLIs are typically quite easy to build in Rust, because in most cases, you just load your ~/.notes, iterate over the files/lines once, print out the result and then exit. I have a hard time coming up with a scenario where building an in-memory (!) tag index benefits you in a CLI.

[โ€“] eager_eagle@lemmy.world 7 points 4 days ago

yeah, it even sounds like they're building an index to use it once and throw it away