3 ms·
Not necessarily the only proper solution--hard failure, like array out-of-bounds errors, is also often an acceptable solution.
by jcranmer 3y ago
Not necessarily the only proper solution--hard failure, like array out-of-bounds errors, is also often an acceptable solution.
- jacquesm 3y agoThat highly depends on the execution environment. In Erlang for instance that would be an acceptable solution. But most other environments don't deal nearly as gracefully with runtime errors.
- rsaxvc 3y agoMIPS on GCC defaulted to trapping integer overflows, but they had non trapping instructions too.