What is memory safety and why does it matter?

(memorysafety.org)

6 points | by fuzztester 8 hours ago

3 comments

  • fuzztester 8 hours ago
  • fuzztester 8 hours ago
    Saw this via a chain of links starting from the Let's Encrypt site.
  • Panzerschrek 2 hours ago
    Yet another article misleadingly treating C and C++ both as memory-unsafe languages. But there is a huge difference between them. Modern C++ code written according to strict standards (like C++ core guidelines) is much less vulnerable in comparison to C code or old-style C++ code. So in practice it may be enough to write in C++ a modern way to avoid vulnerabilities or at least greatly minimize them. Adopting a new memory-safe language may be much more harder, especially in large existing codebases.

    And strictly speaking Rust isn't memory-safe, since it allows to shot the leg via unsafe blocks.

    • netdevphoenix 1 hour ago
      Isn't this a variant of the No True Scotsman fallacy? You are saying if you write it write right, you will have little to no memory issues. Arguably, this applies to any memory unsafe language