• AbelianGrape@beehaw.org
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    8 hours ago

    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
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 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.