News for hackers. Stuff that matters.
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.
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
Re:Writing a basic x86-64 JIT compiler from scratch in stock... by blt on Thursday November 09, 2017 @06:46PM (#15666753)
yeah, it sucks. That is what turned me off of initial messing around with JITs. Wish I had known about GNU Lightning then.
Re:Writing a basic x86-64 JIT compiler from scratch in stock... by fasquoika on Friday November 10, 2017 @09:01AM (#15669889)
>dynasm, ... luajit jit

Aren't these the same thing?