News for hackers. Stuff that matters.
Re:Python 3.13 Gets a JIT by pierrebai on Tuesday January 09, 2024 @01:45PM (#38930140)
The copy-and-patch also assumes the compiler will generate patchable code. For example, on some architecture, have a zero operand might have a smaller or different opcode compared to a more general operand. Same issue for relative jumps or offset ranges. It seems the main difference is that the patch approach also patches jumps to absolute addresses instead of requiring instruction-counter relative code.

There are no comments on this comment yet.