The empire of C++ strikes back with Safe C++ blueprint - eviltoast
  • Tobias Hunger@programming.dev
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    3 days ago

    If you could reliably write memory safe code in C++, why do devs put memory safety issues intontheir code bases then?

    Even highly paid (and probably skilled) devs in the IT industry manage to mess that up pretty regularly. Even if it was: devs using memory safe languages make much fewer mistakes wrt. managing memory… so that tooling does seem to help them at least more than the C++ tooling helps the C++ devs.

    • lysdexic@programming.devM
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      7
      ·
      2 days ago

      If you could reliably write memory safe code in C++, why do devs put memory safety issues intontheir code bases then?

      That’s a question you can ask to the guys promoting the adoption of languages marketed based on memory safety arguments. I mean, even Rust has a fair share of CVEs whose root cause is unsafe memory management.