Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think a version of Rust in which catching panics is unsafe would be entirely justifiable and probably should have been more strongly considered.


This is one of many things that could have been done to solve the unwinding-through-linear-types problem, if it were still possible to make backwards-incompatible changes to the language.


Yes, but unlike most of the proposed solutions to this problem, this one was (1) seriously considered prior to the release of Rust 1.0, and (2) wouldn't have caused major changes to the way most people write Rust programs in practice. i.e. Rust without panic catching in safe code is still essentially Rust.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: