[1] https://www.amazon.com/Mac-OS-Internals-Approach-paperback/d...
> What are the big architectural differences or cool features not in Linux?
Darwin is based on XNU from NeXT, which itself is comprised of OSFMK Mach microkernel but with many of the things pulled into the kernel itself for performance. A lot of the stuff with Mach tasks/ports/messages is still there.
> Also, how hard is it to upstream changes/get drivers in mainline?
You can write your own using IOKit but they're not going to be in the mainline tree, because Apple.
And amusingly, the syscall interface from FreeBSD 4 or so.
There is not even a proper repository with version history, as far as I can tell. Just this stuff: https://github.com/apple/darwin-xnu/commits/master
That's literally a code dump.
Your argument is pedantic where pedantry isn't warranted or necessary -- Darwin is a BSD and is BSD licensed, Apple doesn't have to share anything, but they do.
Imported from https://opensource.apple.com/tarballs/xnu/xnu-4903.221.2.tar.gz
I mean, this is a response to an article that illustrates the severe limitations of Darwin as an operating system.