News for hackers. Stuff that matters.
Re:Some notes on Rust by amelius on Monday February 02, 2015 @05:41AM (#8983567)
Why aren't exceptions used here?

Is this because the behavior is sort of "exceptional" but not so exceptional that the (supposedly inefficient) exception-mechanism is warranted?

In that case, I think the compiler should handle this case still. Using profiling, it could determine which exceptions are really exceptions and which ones are not.

Re:Some notes on Rust by steveklabnik on Monday February 02, 2015 @06:17AM (#8983656)
Rust doesn't have exceptions.
Re:Some notes on Rust by amelius on Monday February 02, 2015 @07:47AM (#8983888)
Interesting. This is certainly new for me :)