3 ms·
Why aren't exceptions used here? Is this because the behavior is sort of "exceptional" but not so exceptional that the (supposedly inefficient) exception-mecha
by amelius 12y ago
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.
- steveklabnik 12y agoRust doesn't have exceptions.
- amelius 12y agoInteresting. This is certainly new for me :)