• bamboo@lemm.ee
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    4 days ago

    If it ain’t broken, don’t fix it.

    That’s the thing, it is broken and there is a fix desperately needed. C lacks memory safety, which is responsible for many, many security vulnerabilities. And they’re entirely avoidable.

    • deathmetal27@lemmy.world
      link
      fedilink
      arrow-up
      3
      arrow-down
      7
      ·
      4 days ago

      So the solution is to take away any agency the developer may have over how their application allocates memory?

      • bamboo@lemm.ee
        link
        fedilink
        arrow-up
        8
        ·
        4 days ago

        Remove the need to, yes. Remove the ability to? No, and rust doesn’t prevent you from doing that, it just makes you mark it unsafe so that way if you fuck up and cause a memory error, the root cause can be narrowed down to a tiny fragment of the code base.