MaliciousKebab@sh.itjust.works to Programmer Humor@programming.devEnglish · 1 year agoWriting C++ is easy.sh.itjust.worksimagemessage-square38fedilinkarrow-up180arrow-down10
arrow-up180arrow-down1imageWriting C++ is easy.sh.itjust.worksMaliciousKebab@sh.itjust.works to Programmer Humor@programming.devEnglish · 1 year agomessage-square38fedilink
minus-squareBoinketh@lemm.eelinkfedilinkEnglisharrow-up0arrow-down1·edit-21 year agodeleted by creator
minus-squareJakeHimself@programming.devlinkfedilinkEnglisharrow-up0·1 year agoWould know, I’ve never had a runtime error in Rust /s
minus-squareeth0p@iusearchlinux.fyilinkfedilinkEnglisharrow-up0·1 year 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-squareasdfasdfasdf@lemmy.worldlinkfedilinkarrow-up1·1 year 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-squareBeanie@programming.devlinkfedilinkarrow-up0·1 year 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