Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 1 year agoIs this a Nut?sh.itjust.worksexternal-linkmessage-square11fedilinkarrow-up13arrow-down10
arrow-up13arrow-down1external-linkIs this a Nut?sh.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 1 year agomessage-square11fedilink
minus-squareEinfachUnersetzlich@lemm.eelinkfedilinkarrow-up0·1 year agoIf you can make safe Rust segfault you’re doing something wrong.
minus-square𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍@midwest.sociallinkfedilinkarrow-up0arrow-down1·1 year agoIME Rust programs crash at about the same rate as other languages. “Rewrite everything in Rust” hasn’t made much of a difference for me, so far.
minus-squarenick@campfyre.nickwebster.devlinkfedilinkarrow-up1·1 year agoA crash is different to a SEGFAULT. I’d be very surprised to see a safe rust program segfault unless it was actively exploiting a compiler bug.
If you can make safe Rust segfault you’re doing something wrong.
IME Rust programs crash at about the same rate as other languages. “Rewrite everything in Rust” hasn’t made much of a difference for me, so far.
A crash is different to a SEGFAULT. I’d be very surprised to see a safe rust program segfault unless it was actively exploiting a compiler bug.