by hiby007 · 6y ago · 0 comments
So the biggest potential problem will be for of apps outside the app store. Developers will need to re-compile their apps themselves - I hope this will be possible with cross-compilation, so it's not necessary to get a new mac in order to do so (that would severely limit how many devs would do so). Maybe the norm will be 'fat binaries' like in the PowerPC->Intel transition period, where apps ship with binaries compiled for both architectures. Also, apps that haven't been updated for a long time might not receive updates and would get left behind (although switching off 32-bit support in Catalina could be seen as a test run for the same disruption).
Also, any apps that are using specific x86-instructions for optimization might take a while longer to port - e.g game engines (luckily most game engines are cross-platform these days, so Unity, Unreal and the others already have ARM-targets from iOS/Android/Switch to base this on)
Multi-arch "fat binaries" have been the norm much more recently than that. For a long time, typical macOS binaries supported both 32-bit and 64-bit x86.
Likewise, fat binaries are used to support the various different ARM variants on iOS devices (armv7, arm64, etc).
That time one could also patch 68k OS calls with PPC code and vice versa. Depending on your viewpoint, making that possible, where the 68k OS calls had about 10 different calling conventions (the ABI of some of the callbacks seemed to be chosen by what registers the arguments happened to be in in the first implementation), that was either a can of worms or a brilliant hack.
That sounds like an absolute nightmare. Imagine having to track down a bug that only appears after your program has gone through cross compilation on Apple's servers.
https://www.highcaffeinecontent.com/blog/20190518-Translatin...
If your code is all in a high level language and your libraries are ported (a big if) then it won't be a huge burden but if you're relying n dynamic code generation or self-modifying code or some arch-specific hacks or the like you may have a lot more trouble.