How to write a simple JIT compiler
Eli Bendersky has another great, even simpler introduction (from 2013) to JIT compiling but with hardcoded instructions [0]. And a more recent post on JIT compiling Brainfuck [1].<p>[0] <a href="https://eli.thegreenplace.net/2013/11/05/how-to-jit-an-introduction" rel="nofollow">https://eli.thegreenplace.net/2013/11/05/how-to-jit-an-intro...</a><p>[1] <a href="https://eli.thegreenplace.net/2017/adventures-in-jit-compilation-part-2-an-x64-jit/" rel="nofollow">https://eli.thegreenplace.net/2017/adventures-in-jit-compila...</a>