• jas0n@lemmy.world
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      7 days ago

      Don’t worry bud, I’ll upvote you. Not everyone is afraid of pointers.

    • De_Narm@lemmy.world
      link
      fedilink
      arrow-up
      50
      arrow-down
      2
      ·
      edit-2
      8 days ago

      Who cares? Just like most things your average programmer relies on, they are written by smarter or at least more specialised people to make your job easier. They have learned to write memory-safe code so you don’t have to.

      • Takumidesh@lemmy.world
        link
        fedilink
        arrow-up
        13
        ·
        8 days ago

        More specialized is critical.

        You have to understand your domain, what your goal is, how much time and money you have, etc.

    • atzanteol@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      33
      arrow-down
      3
      ·
      8 days ago

      God, this old argument… Careful, it’s an antique.

      The idea is to minimize memory management and have people who are experts on it deal with it.

    • marcos@lemmy.world
      link
      fedilink
      arrow-up
      19
      arrow-down
      1
      ·
      8 days ago

      AFAIK, the first one was written in LISP.

      The one most people push around here was written in Rust. It’s a really great language to write memory managers anyway.

    • Mihies@programming.dev
      link
      fedilink
      arrow-up
      14
      ·
      8 days ago

      I don’t think those are the problem, but rather how they are used. And in case of managed languages like C#, it’s almost impossible to shoot yourself in the foot when it comes to memory management. You still can, if you really wish, but you have to be very explicit in that. 🤷‍♂️