Comment on Ask HN: Why can't we replace instructions in a binary for different ISAs?parentComments−tlb5yDoes the race condition happen during the translation or execution? If it's former, we can somehow prevent it, right? The translation code is known.During execution.Qemu is the result of a huge amount of effort to make it fast. It'd take many, many programmer-years to build something faster.−monusOP5yThe thing I don't quite grasp is that QEMU does the translation in runtime, i.e. emulation, but why not do it once and use the translated binary?
Comments
During execution.
Qemu is the result of a huge amount of effort to make it fast. It'd take many, many programmer-years to build something faster.
The thing I don't quite grasp is that QEMU does the translation in runtime, i.e. emulation, but why not do it once and use the translated binary?