Hacker News new | ask | show | jobs
by andrewmunsell 3818 days ago
Apple used to support a "universal binary" format[1] to run a "single" binary on both PPC and Intel processors (as well as 32 bit vs 64 bit). This meant that both the PPC and Intel code was inside the same file, but a specific section of the file was executed based on what architecture the computer was using.

Of course, modern Macs are 64 bit Intel only, so this isn't really necessary anymore unless a developer needs to support older platforms.

[1] https://en.wikipedia.org/wiki/Universal_binary

2 comments

Rosetta was cooler. I have an old Mac Pro running some process that was never upgraded.

https://en.m.wikipedia.org/wiki/Rosetta_(software)

Cool, that universal binary concept is what I vaguely remembered and meant, thanks. Will check that link.