Hacker News new | ask | show | jobs
by PainfullyNormal 1278 days ago
> You will need to run a ARM Linux VM on the Macintosh - even on ARM-based Macs. Why? Apple. That's why.

I'm going to need a better answer than that. The whole reason I want to learn ARM is to get closer to the machine I'm actually using, not to get closer to a linux virtual machine that I will never use again running on the machine I'm actually using.

3 comments

Oh, awesome. Thanks!
Because they probably have Linux syscall numbers in their examples and those won’t work on macOS.
No, it can't -- QEMU's usermode emulator translates Linux-to-Linux only, it does not let you run Linux binaries on macos. And since it's an emulator it's arguably taking you even further from the bare metal than running a VM, which (assuming hypervisor.framework or equivalent) is at least executing the guest instructions directly on the real CPU.
Criticism appreciated.

Reasons are now explained in the README.

We promise a future chapter to bridge what is used elsewhere back to the Mac M1. And also, a chapter bridging to what is used on Windows ARM machines.