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