somerandomperson@lemmy.dbzer0.com to Programmer Humor@lemmy.ml · 6 days agorustmaslemmy.mlimagemessage-square18linkfedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imagerustmaslemmy.mlsomerandomperson@lemmy.dbzer0.com to Programmer Humor@lemmy.ml · 6 days agomessage-square18linkfedilink
minus-squaremkwt@lemmy.worldlinkfedilinkarrow-up0·5 days 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.