CoderSupreme to Programming · edit-22 months agoWhat are your favorite statically typed, compiled, memory safe programming languages?message-squaremessage-square121fedilinkarrow-up1113arrow-down16
arrow-up1107arrow-down1message-squareWhat are your favorite statically typed, compiled, memory safe programming languages?CoderSupreme to Programming · edit-22 months agomessage-square121fedilink
minus-squarecinnamon_tealinkfedilinkarrow-up9arrow-down3·edit-22 months 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”.
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”.