5 176
JIT Compiling Code in 5μs
• pgrust JIT compiler compiles code in about 5 microseconds, enabling JIT compile of all SQL queries. • Traditional DBs use LLVM or generate C++, causing slow compile times; none have production-ready JIT. • Author implements regex engine JIT compiler using copy-and-patch ARM64 assembly templates. • JIT regex matches perform comparably to handwritten code, 10-20x faster than interpreter. • AI has made writing JIT compilers feasible, lowering historical software complexity barriers.#JITCompilation #AIProgramming #RegexEngineRead more | Comments | @hackernws
23 Aug, 14:36

