Hacker News new | ask | show | jobs
by KMag 10 days ago
QEMU used a copy-and-patch JIT, at least in the early versions. I've stopped following its developments.

I believe Wirth and Franz's JITs for Oberon were of the template/copy-and-patch variety, and I believe they were able to intertwine caching of expanded templates inside their bytecode decompressor, allowing it to JIT compressed bytecode off of disk into memory faster than reading native binaries from disk. Though, that was largely due to the ratio of CPU speed to disk read speeds on the workstations at ETH Zurich.