• cinnamon_tea@programming.dev
    link
    fedilink
    arrow-up
    9
    arrow-down
    3
    ·
    edit-2
    10 days ago

    You forgot the beauty “undefined behavior”!

    So what if you want memory-safety! C++ (and C) can still blow up in your face, even with all the alleged memory-safety built into C++, thanks to all the UB traps.

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