TECHNOLOGYTHE REGISTER
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.
Mentioned
Related Signal
Adjacent reporting
- “Tokenmaxxing” is making developers less productive than they think
- The time the x86 emulator team found code so bad they fixed it during emulation
- Using AI to write better code more slowly
- Febo, core engineer at Anza, On Pinocchio, P-Token, And Pushing Solana's Limits
- Scientists built a memory chip that breaks the rules of miniaturization
- NASA still maintains some of the Voyager spacecraft code from the 70s era