mesa@piefed.social to Technology@lemmy.worldEnglish · 20 hours agoHow One Uncaught Rust Exception Took Out Cloudflarehackaday.comexternal-linkmessage-square33fedilinkarrow-up1178arrow-down16
arrow-up1172arrow-down1external-linkHow One Uncaught Rust Exception Took Out Cloudflarehackaday.commesa@piefed.social to Technology@lemmy.worldEnglish · 20 hours agomessage-square33fedilink
minus-squaresolrize@lemmy.mllinkfedilinkEnglisharrow-up2·18 hours agoRust has exceptions? Is that new?
minus-squarecalcopiritus@lemmy.worldlinkfedilinkEnglisharrow-up2·16 hours agoReplace uncaught exception for unhanded error.
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkEnglisharrow-up2arrow-down1·edit-22 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·15 hours agoWell… catch_unwind, but i don’t think you can rely on it.
Rust has exceptions? Is that new?
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.