Darling translates macOS programs for Linux
Summary
Darling maps macOS system libraries and kernel calls onto Linux, similar to the approach of Wine for Windows. The project targets macOS command line programs and applications.
Ideas
- Mach-O binaries are loaded under Linux.
- Recreated frameworks provide the expected macOS APIs.
- System calls are translated into Linux functions.
- Container mechanisms isolate the file system and process environment.
Insights
- Compatibility layers keep applications running without full operating system emulation.
- API compatibility is only enough with matching behaviour in edge cases.
- Legal and technical limits together determine the scope of the project.
Facts
- Darling is free software.
- It does not use a complete virtual machine.
Recommendations
- Test applications against the documented supported frameworks.
- Do not treat compatibility as security isolation.
References
Found a mistake or have something to add? Get in touch.
Links to the original source and the Web Archive open in a new tab.