4 ms·
You can't run x86 Linux quickly on macOS. What you can do is to run ARM Linux quickly on macOS and run x86 programs inside of that Linux with Rosetta quickly.
by vbezhenar 3y ago
You can't run x86 Linux quickly on macOS. What you can do is to run ARM Linux quickly on macOS and run x86 programs inside of that Linux with Rosetta quickly.
- WanderPanda 3y agoWait you can use Rosetta inside a Linux VM?
- Tepix 3y agoIndeed: https://docs.getutm.app/advanced/rosetta/ https://docs.getutm.app/advanced/rosetta/
- easeout 3y agoYes, see Apple's documentation: https://developer.apple.com/documentation/virtualization/running_intel_binaries_in_linux_vms_with_rosetta https://developer.apple.com/documentation/virtualization/run...
- rlupi 3y agoAm I missing something? Is this quicker just because you are emulating only the program and not the OS?
- bombcar 3y agoYes. If you run x86 Linux in a VM on an M1 you are emulating/translating every single instruction; with a native OS you are only translating the application.
- vbezhenar 3y agoIt is quicker because Rosetta is a proprietary Apple technology which apparently works superb, but only supports userspace code. Emulating x86 with qemu does not work as fast, unfortunately. I'm not qualified enough to judge whether it's qemu shortcoming or it's just not possible to emulate entire VM as efficiently, but the practical result for today is that you want to use Rosetta.