Tagged: performance
Showing 1–5 of 6 articles
Making APIs and Queues Bulletproof Idempotency keys, layered caching, transactional outbox/inbox, and DLQs - the patterns that keep money moving when half the systems involved restart in the middle. Read article 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 Stealing From LuaJIT and V8: What Works in Rust and What Doesn't I tried to port performance tricks from LuaJIT and V8 to a Rust bytecode VM. Some translated beautifully. Others fought the language at every 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 From Stack VM to Register VM: A 31% Speedup by Changing the Model I rewrote my bytecode VM from stack-based to register-based. The instruction count dropped by 67% and performance improved by 31%. Read article