Dossier
Binary Translation
Coverage of Binary Translation in the Nexus archive.
- Windows devs rerolled old code to save precious bytes
Microsoft engineers historically optimized code efficiency, as seen in a Windows x86-32 emulator project where a compiler-generated loop unrolled 64 KB of memory initialization into 256 KB of code. The team replaced the inefficient code with a tighter loop, highlighting past emphasis on memory efficiency contrasted with modern practices.
- Low-Compilation-Cost Register Allocation in LLVM-Based Binary Translation
The article discusses a new method for efficient register allocation in LLVM-based binary translation, aiming to reduce compilation costs while maintaining performance. It is presented as an academic paper published by ACM.