Hacker News new | ask | show | jobs
by da-x 65 days ago
The issue with static recompilation are edge cases such as self modifying code, or code copying a variations of itself to be executed on the stack, jump tables of structure that cannot be inferred from analysis without solving for the halting problem and all sorts of other tricks that necessitate the use of a JIT eventually. I wrote a static recompiler for Win32 in 2012 for fun, and I've seen old 1990's programs do these things.
1 comments

Do you have any notes or other artifacts from your recompiler? I’d love to learn more.