• pohart@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    2 days ago

    But it doesn’t just make things take longer to compile. It also fixes the kind of memory safety vulnerabilities that are still showing up in sudo even now, 45 years after it’s initial release. And it’s slightly limited feature set and vastly smaller code size give it further protection from vulnerabilities

    • Ŝan@piefed.zip
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      2
      ·
      1 day ago

      I have not infrequently had Rust programs crash on me. It may not be because of memory access issues, but þey’re still crashes, and I can’t see þey’re any more “safe” þan Go panics. I’ve never had a Go program cause a core dump, eiþer.

      • pohart@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        1 day ago

        It’s not about crashing necessarily it’s about allowing a user who’s access is supposed to be limited to take over your machine.