Dynamic Recompilation

Kajanan introduced me to this while we were talking about Memory-Mapped Files.

In computer science, dynamic recompilation is a feature of some emulators and virtual machines, where the system may recompile some part of a program during execution.

Dynamic recompilation is used in emulation to convert machine code from one CPU architecture (e.g., from a PlayStation or an old game console) to another (e.g., x86). It may involve re-emitting code that is optimized for a different system.

Other

  • JIT compilation is a form of dynamic recompilation