Meta’s Reality Labs ported Android’s Cuttlefish virtual-device framework to run natively on Apple Silicon Macs, aiming to replace a split workflow in which Mac developers used the lower-fidelity Goldfish emulator while Cuttlefish required Linux. Cuttlefish boots the same system images as physical devices and offers a more realistic software and hardware environment, helping uncover bugs earlier and reducing dependence on limited physical devices. Maintaining two emulator platforms had duplicated tools and infrastructure, divided engineering effort, and left developers testing against different environments.
The port revived Cuttlefish’s QEMU virtual-machine backend and addressed three Linux-specific gaps: making QEMU’s vhost-user device components build and work on macOS, expanding its Hypervisor.framework memory-region capacity for larger configurations, and adding native Cocoa display support, including correct BGRA rendering and mouse-to-touch input. The work also added arm64 macOS build, signing, notarization, and Cuttlefish host support. A unified platform reduces maintenance and infrastructure while giving developers the same Cuttlefish devices used in CI, with support for features such as Bluetooth, Wi-Fi, cellular, 3D graphics, OTA testing, fastboot, and snapshots. Meta is sharing its QEMU fork and AOSP patch set, and is exploring upstream contributions; the shared setup also lets external developers test against the same platform.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.