3 ms·
Did you know where every page fault would happen, and manually check every memory access and fix the situation? You didn't have to because there is an precise,
by kazinator 7y ago
Did you know where every page fault would happen, and manually check every memory access and fix the situation?
You didn't have to because there is an precise, robust non-checked exception handling system which takes care of that: the hardware catches the situation, dispatches a handler in the operating system which fixes it and re-starts your program at the original machine instruction to try the memory access again.
- mikeschinkel 7y agoYou do not have to be precise in Go either, and you don't have to know all the faults. All you have to know if where a return value that implements the interface `error` is not nil.