• cinnamon_tea@programming.dev
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    edit-2
    3 hours 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”.