Y
Hacker News
new
|
ask
|
show
|
jobs
by
ridiculous_fish
663 days ago
Rust goes to substantial lengths to allow unwinding from panics. For example, see how complicated `Vec::retain_mut` is. The complexity is due to the possibility of a panic, and the need to unwind.
https://doc.rust-lang.org/1.80.1/src/alloc/vec/mod.rs.html#1...