RC RANDOM CHAOS

Darling: A Wine-Style Compatibility Layer for Running macOS Apps on Linux

· via Hacker News

Original source

Run macOS Software on Linux

Hacker News →

Darling is an open-source compatibility layer that runs macOS software on Linux without hardware emulation, mirroring what Wine does for Windows programs. Rather than virtualizing a machine, it reimplements the Darwin environment underneath macOS—Mach, dyld, launchd and the rest—so binaries execute directly. The project is built largely on Apple’s own open-source Darwin code, with its Cocoa support layered on top of The Cocotron, the Apportable Foundation, and pieces of GNUstep. It ships under GPLv3, and the developers argue it sidesteps Apple’s EULA by touching only the parts of Darwin that Apple has released as free software.

The practical limits matter more than the pitch. Command-line and headless tooling is the strong suit; GUI support exists but is described as basic and experimental, capable of simple graphical apps rather than full-featured desktop software. Darling also runs on Windows through WSL 2, and the team wants apps to integrate into the Linux desktop as if native. Longer-term ambitions include running iOS apps on ARM hardware such as Android phones, which would require writing a UIKit implementation from scratch—a substantial undertaking still on the wishlist.

For developers, the significance is a route to run macOS-native binaries and toolchains on Linux without an Apple machine or a full VM, useful for testing and cross-platform workflows. The heavy dependence on Apple’s published Darwin source is both its foundation and its ceiling: coverage tracks what Apple open-sources, and the closed, proprietary frameworks that define most modern Mac apps remain the hard part.

Read the full article

Continue reading at Hacker News →

This is an AI-generated summary. Read the original for the full story.