• @mercano
    link
    -254 months ago

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

    • @De_Narm
      link
      46
      edit-2
      4 months 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
        124 months 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
      284 months 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
      164 months 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
      144 months 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
      14 months ago

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