2 ms·
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 compi
by eatonphil 5y ago
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].
[0] https://eli.thegreenplace.net/2013/11/05/how-to-jit-an-introduction https://eli.thegreenplace.net/2013/11/05/how-to-jit-an-intro...
[1] https://eli.thegreenplace.net/2017/adventures-in-jit-compilation-part-2-an-x64-jit/ https://eli.thegreenplace.net/2017/adventures-in-jit-compila...
- haberman 5y agoI wrote a blog post about a Brainfuck JIT too: https://blog.reverberate.org/2012/12/hello-jit-world-joy-of-simple-jits.html https://blog.reverberate.org/2012/12/hello-jit-world-joy-of-... Mine uses the DynASM framework developed for LuaJIT, so that the assembly instructions can be written symbolically: https://luajit.org/dynasm.html https://luajit.org/dynasm.html
- rvbissell 5y agoIt amazes me how often I find myself following links back to Eli's blog, unexpectedly. Dude's a treasure.