Re:Apple Silicon M1 Emulating x86 Is Still Faster Than Every...
by ztjio on Monday November 16, 2020 @03:45AM
(#25109520)
Not sure, but, my educated guess is that it will be more efficient as they improve Rosetta 2 to do this on demand instead of pre-translating every app on the store every time Rosetta 2 is updated.
Even if that means the users have to retranslate, that's still essentially "free" (to Apple) distributed compute.
Re:Apple Silicon M1 Emulating x86 Is Still Faster Than Every...
by rarepostinlurkr on Sunday November 15, 2020 @11:12PM
(#25107924)
Apps installed via MAS and packages are pre translated (at install time)
Re:Apple Silicon M1 Emulating x86 Is Still Faster Than Every...
by apexalpha on Monday November 16, 2020 @03:35AM
(#25109455)
So is this a little bit like Android apps being translated into Java Byte Code at install?
Re:Apple Silicon M1 Emulating x86 Is Still Faster Than Every...
by gumby on Monday November 16, 2020 @12:29PM
(#25114397)
It’s the other way around: an intermediate state of compilation is uploaded (basically the internal state after all non-machine-specific optimizations have been done, like hoisting invariants out of loops, etc). The App Store finishes compiling with the flags for the various CPUs supported (iPhone 6, iPhone 12, etc).
Re:Apple Silicon M1 Emulating x86 Is Still Faster Than Every...
by olliej on Sunday November 15, 2020 @09:57PM
(#25107471)
translation of most apps doesn't take a significant amount of time, and have it pretranslated would mean shipping code that was not signed by the app developer.
Re:Apple Silicon M1 Emulating x86 Is Still Faster Than Every...
by neurostimulant on Sunday November 15, 2020 @10:15PM
(#25107566)
But isn't apple store already re-sign applications code with apple's own key so they can do stuff like this? Or is it only on iOS?
They'd still have to be run under rosetta2 (because programs can write code and branch to it) but a lot of computation could be done once rather than every time.