4 ms·
Rosetta 2 is Apple's product that is specifically geared towards translating Darwin binaries. Inside the VM is standard Linux. Linux can't run Rosetta 2 since t
by ArchOversight 5y ago
Rosetta 2 is Apple's product that is specifically geared towards translating Darwin binaries. Inside the VM is standard Linux. Linux can't run Rosetta 2 since that is a macOS tool.
QEMU emulates a platform on the fly, it does not attempt to rewrite the code to run on ARM and cache that result. QEMU also emulates all the specific quirks of the x86_64 platform, whereas Rosetta 2 does not.
It would be neat if Apple open sourced their Rosetta 2 technology and made it more widely available, but at this time there is no option for 3rd parties to use Rosetta 2, especially from within a Linux VM.