Re:Writing a basic x86-64 JIT compiler from scratch in stock...
by one_thawt on Thursday November 09, 2017 @05:45PM
(#15666410)
In my opinion, the most tedious part of writing this sort of thing from scratch is the x86/x86-64 instruction encoding. Grab the Intel/AMD manuals or an opcode database and have fun. Other projects to study: LLVM, dynasm, asmjit, peachpy, luajit jit, Intel XED, etc.
[ Parent
| on HN ]
Re:Writing a basic x86-64 JIT compiler from scratch in stock...
by eliben on Thursday November 09, 2017 @10:52PM
(#15667821)
FWIW, the series concluding at https://eli.thegreenplace.net/2017/adventures-in-jit-compila... build a Brainf*ck JIT in pure C++, then using LLVM, then in Python using PeachPy