Re:ravynOS: Pre-alpha open-source OS based on Darwin, FreeBS...
by mrpippy on Monday August 31, 2026 @03:23PM
(#49513830)
The Mach APIs are available to userland applications, if you used a different kernel you’d have to implement them somehow
Re:ravynOS: Pre-alpha open-source OS based on Darwin, FreeBS...
by ripdog on Monday August 31, 2026 @03:26PM
(#49513874)
But do real apps actually use them directly? Or only through the userland libraries?
Just FYI, the https://www.darlinghq.org project is doing MacOS app compat on Linux - i.e. building the userland libraries.
Re:ravynOS: Pre-alpha open-source OS based on Darwin, FreeBS...
by mrpippy on Monday August 31, 2026 @05:50PM
(#49515258)
Yes, real apps use Mach messaging directly. i.e.: https://source.chromium.org/chromium/chromium/src/+/main:ipc...
Re:ravynOS: Pre-alpha open-source OS based on Darwin, FreeBS...
by ChocolateGod on Monday August 31, 2026 @07:00PM
(#49515868)
Chrome is an outlier to how most apps will do things.
Re:ravynOS: Pre-alpha open-source OS based on Darwin, FreeBS...
by nrr on Monday August 31, 2026 @07:38PM
(#49516147)
The illustration that Chrome uses Mach ports is a counterexample to an (implied) insinuation that nothing in running in macOS user space uses Mach ports. Outlier or not, the fact there is at least one (albeit also very useful and very popular) application that uses them ties back to the conversation about how they're a kernel feature worth having for Mac compatibility.
AFAIK all macos software only talks to the kernel via userland APIs - so there's no particular benefit to basing ravynOS on XNU anyway. (Just the opinion of a layman.)