4 ms·
> there are no "exceptions" when running a program, only conditions that you dislike. Exceptions, aka faults, are a time-tested feature of CPUs that have been
by prirun 4y ago
> there are no "exceptions" when running a program, only conditions that you dislike.
Exceptions, aka faults, are a time-tested feature of CPUs that have been around for half a century:
https://wiki.osdev.org/Exceptions https://wiki.osdev.org/Exceptions
- enriquto 4y agoSure, but people here are talking about exceptions as a control-flow feature of high-level programming languages like Python. It has nothing to do with cpu exceptions or interrupts.
- xtracto 4y agoI don't think that's a good argument... otherwise we would like to honor the prominence of JNZ, JNE, JL, LOOP and other "spaghetti code" constructs used deep in CPU models but that are just not appropriate for human readable code.