• Ephera@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      14 hours ago

      Ah, interesting. I went from garbage-collected languages where thinking about ownership might be useful for keeping complexity low and occasionally comes up when you manage lists of objects, but ultimately isn’t needed, to Rust where well-defined ownership is enforced by the language.

      So, I wasn’t aware that ownership is even as concrete of a thing in other languages…

      • bestboyfriendintheworld@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        3 hours ago

        Oh you need this in garbage collected languages too, once you run into memory use issues. GC languages are notorious for being wasteful with memory, even when working correctly.