• @mercano
    link
    -2513 days ago

    Ok, and what do you think the memory managers were written in?

    • @De_Narm
      link
      46
      edit-2
      13 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
        link
        1213 days ago

        More specialized is critical.

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

    • @[email protected]
      link
      fedilink
      English
      2813 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
      link
      1613 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.

    • @[email protected]
      link
      fedilink
      1413 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. 🤷‍♂️

    • @jas0n
      link
      111 days ago

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