Re:Why is Rosetta 2 fast?
by vips7L on Wednesday November 09, 2022 @12:49PM
(#33535243)
Yes, the JIT has more profile guided data as to what your program actually does at runtime, therefore it can optimize better.
[ Parent
| on HN ]
On the other hand some optimization are so expensive that a JIT just doesn't have the execution budget to perform them.
Probably the optimal system is an hybrid iterative JIT/AOT compiler (which incidentally was the original objective of LLVM).