Tagged: rust
Showing 6–9 of 9 articles
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 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 NaN Boxing in Rust: Cramming Every Value Into 8 Bytes LuaJIT packs every value into 8 bytes using NaN boxing. Porting this to Rust means opting out of everything the language gives you. Read article AI Is Pushing Programming Toward Typed Languages AI code generation works better with strict type systems and compilers that catch mistakes. The old downsides of compiled languages are starting to matter less. Read article