@[email protected] to Programmer [email protected]English • 2 years agoWriting C++ is easy.sh.itjust.worksimagemessage-square82fedilinkarrow-up11.07K
arrow-up11.05KimageWriting C++ is easy.sh.itjust.works@[email protected] to Programmer [email protected]English • 2 years agomessage-square82fedilink
minus-square@[email protected]linkfedilinkEnglish7•2 years agoWould know, I’ve never had a runtime error in Rust /s
minus-square@[email protected]linkfedilinkEnglish3•2 years agoCan’t have a runtime error if you don’t have a compiled binary *taps forehead* (For the record, I say this as someone who enjoys Rust)
minus-square@[email protected]linkfedilink1•2 years agoThis is actually unironically a major benefit of Rust - compile time errors are supposed to be for dev mistakes and runtime errors supposed to be for user mistakes. Way easier to debug something at compile time instead of runtime.
minus-square@[email protected]linkfedilink1•2 years ago‘it should pretty much never segfault’ uh, isn’t that the entire point of Rust? Unless you’re counting failing a bounds check as a segfault
deleted by creator
Would know, I’ve never had a runtime error in Rust /s
Can’t have a runtime error if you don’t have a compiled binary *taps forehead*
(For the record, I say this as someone who enjoys Rust)
This is actually unironically a major benefit of Rust - compile time errors are supposed to be for dev mistakes and runtime errors supposed to be for user mistakes. Way easier to debug something at compile time instead of runtime.
‘it should pretty much never segfault’ uh, isn’t that the entire point of Rust? Unless you’re counting failing a bounds check as a segfault
deleted by creator