this post was submitted on 26 Nov 2025
25 points (90.3% liked)

Programming

23594 readers
116 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
[โ€“] AbelianGrape@beehaw.org 3 points 14 hours ago (1 children)

Yeah it depends what you're doing. I do a lot of circuit modeling where different subsystems need to talk to each other. The solutions are either Rcs (and a bunch of custom drop logic) or a parent struct holding all the others. Both are awkward. But in other programming domains I've found rust pleasant.

[โ€“] TehPers@beehaw.org 2 points 12 hours ago

What might benefit you here is a proper GC. There are a few libraries to do this in Rust, though I don't have any good recommendations since I haven't needed this myself yet.