News for hackers. Stuff that matters.
Re:MIT Scheme on Apple Silicon by tardyp on Tuesday December 28, 2021 @11:19AM (#29715067)
Looks like QuickTransit was a jit engine which was the base of Rosetta 1. Rosetta 2 is AOT translation.
Re:MIT Scheme on Apple Silicon by simonh on Tuesday December 28, 2021 @11:36AM (#29715253)
They’re both based on QuickTransit, but Rosetta 2 has an AOT mode as well as JIT. I’m sure the R2 engine is more advanced than the original engine, Apple employed several engineers from the original team, but it still uses and is based on licensed tech.
Re:MIT Scheme on Apple Silicon by GeekyBear on Tuesday December 28, 2021 @12:59PM (#29716139)
My understanding is that Rosetta 2 is based on LLVM.

Even the company that made QuickTransit is gone now, having been bought out by IBM a decade ago.

Re:MIT Scheme on Apple Silicon by monocasa on Tuesday December 28, 2021 @01:23PM (#29716331)
My understanding is that Apple hired a lot of the staff of Transitive, and had a more or less do whatever you want license with source access. Ad that the AOT mode is based on LLVM, but the JIT piece is still pretty core to the design (hence why other JITs run well on top of it).
Re:MIT Scheme on Apple Silicon by my123 on Tuesday December 28, 2021 @01:44PM (#29716563)
It’s not based on LLVM, that’s way too heavy for the use case.

The same backend is used for AoT and JIT compilation. It uses a custom lightweight IR that’s really close to x86 itself, with a big focus towards reducing translation times.

Rosetta 2/Cambria was fully written in-house.