So mostly I'm interested in compilers that compile the entire thing before any execution happens. Technically both AoT and JIT compilers can do that, but 95% of the things associated with "JIT" involve compiling the program one piece at a time.
But even with the broad definition of JIT, one important difference is that AoT compilers don't have to mark pages executable.
Comments
So mostly I'm interested in compilers that compile the entire thing before any execution happens. Technically both AoT and JIT compilers can do that, but 95% of the things associated with "JIT" involve compiling the program one piece at a time.
But even with the broad definition of JIT, one important difference is that AoT compilers don't have to mark pages executable.