• lysdexicM
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    8
    ·
    2 months 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.

      • lad
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        2 months ago

        Well, there is cve-rs, just sayin’

        • robinm
          link
          fedilink
          arrow-up
          3
          ·
          2 months ago

          The fact that rustc has bugs (which is what cve-rs exploit) doesn’t invalidate that rust the language is memory safe.