3 ms·
> Interesting to see the port system mentioned - it's not a well known fact of Mach kernels. I'm surprised to hear someone say that, given that it's the fact a
by nmgycombinator 2y ago
> Interesting to see the port system mentioned - it's not a well known fact of Mach kernels.
I'm surprised to hear someone say that, given that it's the fact about Mach to me. I'm not sure how people could know about Mach but not its defining system.
- kccqzy 2y agoMaybe OP is referring to the fact that there is a Mach kernel underneath. Most developers I guess would like to write CLI apps that are portable to Linux and macOS, so they only use the POSIX side of the API. These don't need to know about ports. And if developers are writing Mac-specific software, Core Foundation is probably the lowest practical level they will go with.
- nmgycombinator 2y agoYeah, if you're writing user-facing apps, writing against Mach wouldn't be smart. But if you're a vulnerability researcher on the other hand... it's a neat trick and might just help you find a CVE! (even though most stuff has moved to XPC now and you could just used the public XPC API's there)
- junon 2y agoYes, that's what I meant. I'm making a kernel that uses ports not dissimilar to Mach's and I get asked if there are other modern kernels that do the same thing from time to time. Everyone I've talked to has been surprised to hear it has them.
- nmgycombinator 2y agoOh nice! Do you have a GitHub or something for the kernel?
- junon 2y agohttps://GitHub.com/oro-os/kernel https://GitHub.com/oro-os/kernel :) Still in early stages of development, mind you.