My dream is to understand JIT compiler tech. Does anybody have any resources?
I've read the documentation of Pypy but I don't understand everything. And I've looked at dynasm for luajit.
I also read about Ruby's YJIT.
Do JIT compilers create machine code templates of bytecode instructions and then emit that? Or do they create basic blocks and then emit that as machine code?
My amd64 compiler is toy barebones that can evaluate ADD and MUL expressions https://github.com/samsquire/compiler I would love for it to become a JIT compiler!