Hacker News new | ask | show | jobs
by saagarjha 1278 days ago
Because they probably have Linux syscall numbers in their examples and those won’t work on macOS.
1 comments

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.