• 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.