somerandomperson@lemmy.dbzer0.com to Programmer Humor@lemmy.ml · 7 months agorustmaslemmy.mlimagemessage-square18linkfedilinkarrow-up1208arrow-down13
arrow-up1205arrow-down1imagerustmaslemmy.mlsomerandomperson@lemmy.dbzer0.com to Programmer Humor@lemmy.ml · 7 months agomessage-square18linkfedilink
minus-squaremkwt@lemmy.worldlinkfedilinkarrow-up2·7 months agoIt’s worse than that. In C++, if you fail to catch an exception, then std::terminate() is called. In Rust the only options are roughly equivalent to C++ noexcept, or std::terminate() [panic in Rust]. There’s nothing in between.
It’s worse than that. In C++, if you fail to catch an exception, then std::terminate() is called. In Rust the only options are roughly equivalent to C++ noexcept, or std::terminate() [panic in Rust]. There’s nothing in between.