亲爱的:在 Linux 上运行 macOS 软件
Darling: Run macOS Software on Linux

原始链接: https://www.darlinghq.org/

Darling 简介:在 Linux 上运行 Mac OS 软件 Darling 是一项创新技术,允许您在 Linux 环境中使用流行的 Macintosh 程序。 与传统的虚拟化方法不同,Darling 通过名为“Darling”的转换层提供对 Mac 软件的直接访问。 Darling 的独特之处如下: 快速:Darling 具有近乎即时的执行时间和应用程序启动之间的零等待时间,可提供接近本机的性能,同时保持较低的资源消耗。 它通过充当 Linux 系统和 Mac 软件之间的网关来实现这些壮举,这意味着与专用虚拟机相比,内存使用量更少。 免费和开源:像 Linux 本身一样,Darling 是完全免费和开源的。 它的源代码可以从 GitHub 访问,在那里它获得公共资金和来自热情的开发者社区的投入。 兼容性:从内核到库,Darling 在 Linux 中创建了完整的 Darwin 环境,从而能够与 Mac 系统中通常存在的所有主要组件无缝兼容。 用户会发现,即使是复杂的应用程序和游戏也能顺利运行。 易于使用:与安装 Hackintoshes 或交叉编译工具等替代解决方案不同,Darling 为用户处理大部分设置,提供简单的说明和轻松的用户界面。 本机集成:通过优先考虑本机集成技术,Darling 旨在提供统一的 Linux/Mac 体验。 这样,当打开应用程序或游戏时,用户不会注意到专门为 Mac 编写的程序与专门为 Linux 发行版创建的程序之间的任何根本差异。 Wine 的相似之处:对于那些了解 Wine 的人来说,它的表现与 Darling 类似:两者都允许跨平台软件操作,尽管级别不同; Wine 可以翻译 Windows 可执行文件,而 Darling 可以在 Macintosh 框架内运行。 这两种技术都在系统配置选项方面提供了巨大的灵活性。 实验性图形支持:虽然仍被认为是实验性的,但初步测试已表明可以成功执行一些更简单的图形应用程序 - 基准测试的理想选择。 不违反 Apple 的 EULA:由于 Darling 仅使用构成真正开源许可证的 Darwin 元素(与 Linux 内核兼容),因此没有违反任何特定的 EULA,从而确保了各个方面的法律合规性。 名字来源:名字“亲爱的”

然而,在 Linux 中实现 POSIX 环境可以在所有三种环境中提供几乎完整的功能。 另一方面,在 Linux 之上提供完整的 Mac OS X 环境需要投入大量的时间和资源,特别是考虑到与大公司相比,开源社区通常获得的资金数量有限。 因此,诸如 Coconut 之类的努力或尝试为 Linux 中的 POSIX 环境开发 Mac OS X 风格的前端可能仍然是小众努力,而不是主流替代方案。
相关文章

原文
~ $ uname
Linux
~ $ darling shell
Darling [~]$ uname
Darwin

Darling is a translation layer that lets you run macOS software on Linux

  • Fast

    Darling runs macOS software directly without using a hardware emulator.

  • Free

    Like Linux, Darling is free and open-source software.
    It is developed openly on GitHub and distributed under the GNU GPL license version 3.

  • Compatible

    Darling implements a complete Darwin environment. Mach, dyld, launchd — everything you'd expect.

  • Easy to use

    Darling does most of the setup for you. Sit back and enjoy using your favorite software.

  • Native

    We aim to fully integrate apps running under Darling into the Linux desktop experience by making them look, feel and behave just like native Linux apps.

  • That sounds a lot like Wine

    And it is! Wine lets you run Windows software on Linux, and Darling does the same for macOS software. Another similar project is Anbox, for Android apps.

  • Does it support GUI apps?

    Almost! This took us a lot of time and effort, but we finally have basic experimental support for running simple graphical applications.

  • Does it violate Apple's EULA?

    No! We only directly use those parts of Darwin that are released as fully free software.

  • Does the name Darling mean anything?

    The name Darling is a combination of “Darwin” and “Linux”. Darwin is the core operating system macOS and iOS are based on.

  • Can I run Darling on Windows using WSL?

    With WSL 2, yes! See the documentation for more details.

  • Do you know about opensource.apple.com, GNUstep, The Cocotron and other projects?

    We do, and in fact, Darling is largely based on the original Darwin source code published by Apple. We use The Cocotron as a basis for our Cocoa implementation, along with the Apportable Foundation and various bits of GNUstep.

  • Do you have plans for supporting iOS apps?

    Yes, in the long run, we'd like to be able to run iOS apps on ARM devices (like most Android phones). A significant challenge here would be to write our own implementation of UIKit. Come talk to us if you're interested in working on this!

  • How do I contribute?

    Start by reading the documentation and our blog to get familiar with Darling internals. Then, come and join us on GitHub. It's great if you have experience in developing for macOS or iOS, but it's absolutely not required to start contributing.

联系我们 contact @ memedata.com