But that would make Rust unsuitable for writing anything that wants to keep the program running even if something does panic - say, test harness, or a plugin system.
OTOH that panics are ok and easy to reach for and unwind is why you have to handle them and keep the program running.
I don’t think that an unwind-less rust would have fit within the weirdness budget 10 years ago, today it would definitely be something to consider. Although it would have an unwind effect to contend with.
OTOH that panics are ok and easy to reach for and unwind is why you have to handle them and keep the program running.
I don’t think that an unwind-less rust would have fit within the weirdness budget 10 years ago, today it would definitely be something to consider. Although it would have an unwind effect to contend with.