News for hackers. Stuff that matters.
Re:Why is Rust slightly slower than C? by burntsushi on Wednesday September 11, 2019 @08:30PM (#20946297)
The thread boundary restriction for catching panics was lifted quite a while ago with std::panic::catch_unwind: https://doc.rust-lang.org/std/panic/fn.catch_unwind.html

Do note the caveats in the docs though. It isn't guaranteed to catch all panics. Indeed, unwinding can be disabled completely with a compiler option (instead, panics will abort).

There are no comments on this comment yet.