Seeing HN utterly baffled how Rosetta 2 JIT compiles a JIT compiler is pretty priceless
You just make sure anything you've JITed gets mapped read-only, so any writes fault and let you invalidate the JIT.
-
-
Hmm, feels like that would have really terrible performance having to take so many faults and round-trips through the kernel?
-
You use heuristics to figure out what code is self-modifying and don't JIT it. You can't have it both ways, if you JIT code it better be static.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.