minus-squarecinnamon_tea@programming.devtoProgramming@programming.dev•What are your favorite statically typed, compiled, memory safe programming languages?linkfedilinkarrow-up4·edit-22 hours agoYou 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”. linkfedilink
minus-squarecinnamon_tea@programming.devtolinuxmemes@lemmy.world•Damn electron and the likeslinkfedilinkarrow-up4arrow-down1·6 days agoMeh, I never need more than 2G usually and that too only when Firefox is running. linkfedilink
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”.