• cinnamon_tea@programming.dev
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    2 months ago

    You forgot that beauty - “undefined behavior”!

    Memory-safety can guarantee only so much safety! C++ can still blow up in your face, even with all the alleged memory-safety built into C++, thanks to all the UB traps in C and C++.

    Rust is the closest language that has no such “gotchas”.