mesa@piefed.social to Technology@lemmy.worldEnglish · 18 hours agoHow One Uncaught Rust Exception Took Out Cloudflarehackaday.comexternal-linkmessage-square36fedilinkarrow-up1189arrow-down14
arrow-up1185arrow-down1external-linkHow One Uncaught Rust Exception Took Out Cloudflarehackaday.commesa@piefed.social to Technology@lemmy.worldEnglish · 18 hours agomessage-square36fedilink
minus-squaresolrize@lemmy.mllinkfedilinkEnglisharrow-up2·16 hours agoRust has exceptions? Is that new?
minus-squareNGram@piefed.calinkfedilinkEnglisharrow-up18·16 hours agoNo, the article is just not very precise with its words. It was causing the program to panic.
minus-squaredan@upvote.aulinkfedilinkEnglisharrow-up5·14 hours agoThey’re probably trying to write it in a way that non-Rust-developers can understand.
minus-squarecalcopiritus@lemmy.worldlinkfedilinkEnglisharrow-up4·14 hours agoReplace uncaught exception for unhanded error.
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkEnglisharrow-up2·edit-220 minutes 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·13 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.
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.