A general purpose Apple Silicon layer for x86-64 PCs github.com · 36 points · 10...
HN Best 200 @best
A general purpose Apple Silicon layer for x86-64 PCs github.com · 36 points · 10 comments · HN thread
TL;DR Stela is an early-stage open-source project (v0.1.0) that aims to run macOS, modeled on Apple silicon, on x86-64 PCs. It combines a UEFI boot program, an arm64-to-x86-64 translator covering more than 3,000 AArch64 encodings, and a Metal driver that targets NVIDIA GTX 16/RTX 20-series GPUs and newer. The author says macOS and most apps start but run slowly, and that booting currently has low odds for most hardware.
- Stela is a UEFI boot program plus an arm64e-to-x86-64 AOT/JIT translator, a Metal driver for NVIDIA GPUs, and a model of Apple silicon hardware.
- The translator covers more than 3,000 AArch64 instruction encodings, maps guest to host registers, caches translated code, and runs on any x86-64-v2 CPU from Intel or AMD.
- The Metal driver supports GTX 16 and RTX 20 series GPUs and newer, compiling Metal's AIR shader IR directly to Mesa's NIR.
- Requirements include a CPU from about 2011 or newer, UEFI with Secure Boot off, 8 GB RAM, a USB stick of 8 GB or more, and an empty GPT partition of at least 60 GB.
- Stela currently models the Mac mini (M2) and runs macOS 27; setup downloads macOS and erases the USB stick, and the project says it contains no Apple software.
- The README warns that the project is in active development, that booting chances are low, and that building from source compiles Linux, Mesa and LLVM and takes a long time.
Discussion The thread is short and mixed in tone. Some commenters are curious or excited about the idea of running Darwin without a host OS, and one points to a practical use case of running iOS games. Others question the project's purpose and point out that macOS can already be run in other ways, or that the translation direction is misunderstood. A commenter notes that the x86_64 kernel in a recent macOS install is a useful clue. The mood is mostly curious, with some skepticism and a bit of nostalgia for Intel Macs.
- Interesting concept, but the project is early and slow (some): Several commenters find the idea appealing but note that the project is still rough. The README itself says it is slow and buggy, and boot success is unlikely for now.
- Unclear why this is needed when macOS already runs (a few): One commenter reports getting macOS working on other hardware easily without this layer and says the relevant work sits in private repositories, so the project is hard to access.
- Translator is the reverse of Rosetta (a few): A commenter corrects the idea that this is an emulator with no host OS, saying the translator is closer to Rosetta in reverse, running arm64 code on x86-64 rather than the other way round.
- Intel Macs should be left as they are (a few): A commenter argues that nothing can keep Intel Macs from becoming obsolete and that people should use them as designed rather than chase new support.
- Intel Macs run better on Linux than on macOS (a few): One Intel MacBook owner reports that CachyOS feels much faster than macOS on the same machine, though the laptop still runs hot.
Links from the comments
#AppleSilicon #x86Emulation #macOS #Virtualization #Metal #OpenSource