Tagged: jit
3 articles
From 1,696ns to 3ns: Five Layers of VM Optimisation The full performance story of ilo's VM. Tree-walker to bytecode to register VM to JIT, with real numbers at each step. Read article Cranelift vs LLVM for a Hobby JIT: Why I Chose Cranelift I built the same JIT backend twice - once with Cranelift, once with LLVM via inkwell. Same performance, very different experience. Read article Writing a JIT Compiler by Hand on Apple Silicon An ARM64 JIT that emits raw machine code, mmaps it executable, and calls it as a function pointer. No LLVM, no Cranelift, just bytes. Read article