Python is memory safe? Can’t you access/address memory with C bindings?

  • Black616Angel@feddit.de
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    Yes, right. We could completely erase one third of exploitable vulnerabilities (by your numbers) only by switching to modern languages.

    There is no good argument against that. Why wait for C or C++ to try and implement get another weird “solution” for those problems? (That no one uses then anyway)

    • zik@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      7 months ago

      Strawman argument. I’m not suggesting any of those things you made up.

      I’m just saying that you can’t claim a program’s “memory safe” when it’s not. If a Rust program has zero unsafe blocks and uses zero unsafe libraries you can say it’s memory safe. Otherwise it’s not.