Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There are indeed exceptions when running a program. Exceptions, as a construct, are baked in at the hardware level. When a program page faults, or tries to divide by zero, or runs an invalid opcode, the CPU will jump to an exception handler in much the same way as the higher-level constructs in Python and elsewhere.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: