mesa@piefed.social to Technology@lemmy.worldEnglish · 1 day agoHow One Uncaught Rust Exception Took Out Cloudflarehackaday.comexternal-linkmessage-square49fedilinkarrow-up1225arrow-down16
arrow-up1219arrow-down1external-linkHow One Uncaught Rust Exception Took Out Cloudflarehackaday.commesa@piefed.social to Technology@lemmy.worldEnglish · 1 day agomessage-square49fedilink
minus-squaresolrize@lemmy.mllinkfedilinkEnglisharrow-up2·22 hours agoRust has exceptions? Is that new?
minus-squareNGram@piefed.calinkfedilinkEnglisharrow-up20·22 hours agoNo, the article is just not very precise with its words. It was causing the program to panic.
minus-squaredan@upvote.aulinkfedilinkEnglisharrow-up5·20 hours agoThey’re probably trying to write it in a way that non-Rust-developers can understand.
minus-squarecalcopiritus@lemmy.worldlinkfedilinkEnglisharrow-up6·20 hours agoReplace uncaught exception for unhanded error.
minus-squareKissaki@feddit.orglinkfedilinkEnglisharrow-up1·2 hours ago unhanded error underhanded error /s
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkEnglisharrow-up3arrow-down2·edit-27 hours agoNo, it’s a panic, so it’s more similar to a segfault, but with some amount of unwinding. It can be “caught” but only at a thread boundary.
minus-squarevext01@lemmy.sdf.orglinkfedilinkEnglisharrow-up1·20 hours agoWell… catch_unwind, but i don’t think you can rely on it.
Rust has exceptions? Is that new?
No, the article is just not very precise with its words. It was causing the program to panic.
They’re probably trying to write it in a way that non-Rust-developers can understand.
Replace uncaught exception for unhanded error.
underhanded error /s
No, it’s a panic, so it’s more similar to a segfault, but with some amount of unwinding. It can be “caught” but only at a thread boundary.
Well… catch_unwind, but i don’t think you can rely on it.