Hacker News new | ask | show | jobs
by aw1621107 206 days ago
> I doubt you can do it in Rust.

You absolutely can. You'll need to pay attention to how things are structured and not all codebases will be equally amenable to such techniques, but those are shared characteristics with C++.

As you said, "It really depends on what you are compiling."

> In Rust there is only one model of crash: you just crash.

Hardly. Why else would catch_unwind exist?