4 ms·
But do real apps actually use them directly? Or only through the userland libraries? Just FYI, the https://www.darlinghq.org https://www.darlinghq.org project
by ripdog 26d ago
But do real apps actually use them directly? Or only through the userland libraries?
Just FYI, the https://www.darlinghq.org https://www.darlinghq.org project is doing MacOS app compat on Linux - i.e. building the userland libraries.
- mrpippy 26d agoYes, real apps use Mach messaging directly. i.e.: https://source.chromium.org/chromium/chromium/src/+/main:ipc/mach_port_mac.h https://source.chromium.org/chromium/chromium/src/+/main:ipc...
- ChocolateGod 26d agoChrome is an outlier to how most apps will do things.
- nrr 26d agoThe 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.
- wpm 25d agoAny launchd task that declares any MachServices does.