Re:Apple Silicon M1 Chips and Docker
by anyfoo on Monday November 16, 2020 @11:20PM
(#25120227)
Rosetta 2 purely AOT? Where did you get that idea from?
[ Parent
| on HN ]
It certainly still does some JIT/interpretation at runtime but it does indeed translate the executable upon first launch.^1 I can’t imagine how it would be able to fully translate a browser JavaScript engine that’s doing its own JIT, for example.
1: https://www.macrumors.com/2020/11/12/rosetta-2-translation-c...
Just like the original Rosetta it does indeed cache translations as well as support JIT and other forms of dynamic translation.