• Ephera@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 days ago

      Hmm, not sure, if I’ve heard of it. I’m guessing, we’re not talking about simply drawing a UML class diagram…? Is it for figuring out which object will have to clean up which other objects, in non-GCed languages?

        • Ephera@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          23 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
            ·
            12 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.

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

              Not if you never get your application into production…

              Insert tips head GIF here.

              I wish this was as much of a joke as I’m pretending. It’s so common for software projects to get cancelled that lots of tooling differences are just in terms of how long they let you not deal with long-term problems and how violently they do then explode into your face.

              For most of the development lifecycle of a GCed project, you’re gonna ignore memory usage. And if you’re lucky, it can be ‘solved’ by just plonking down a thiccer piece of hardware…