3 ms·
Propagating upwards a valid way of handling it and often the correct answer. There needs to be something at the top level that can handle a crashing process.
by VMG 10mo ago
Propagating upwards a valid way of handling it and often the correct answer.
There needs to be something at the top level that can handle a crashing process.
- ozgrakkurt 10mo agoYou mean like kubernetes that restarts your program when it crashes?
- hu3 10mo agocan Rust handle global panics? Or can a unwrap be stopped? This is just a normal Tuesday for languages with Exception and try/catch.
- frumplestlatz 10mo ago> This is just a normal Tuesday for languages with Exception and try/catch. Yes, unfortunately, random stack unrolls and weird state bugs as a result are a normal Tuesday for languages with (unchecked) Exception and try/catch