Maybe someone more familiar with operating systems kernels can answer this: Is Darwin really all the exiting? It is different from both the BSD kernels and Linux, but less so than Windows. Other than the ability to run macOS applications (assuming you can clone the libraries and APIs from macOS) is there some benefit of Darwin that I'm not seeing?
> The format is very simple: it adds some accounting info at the start of the file, and then appends all the ELF binaries after it, adding padding for alignment. The end of the file isn't touched, so you can still do things like self-extracting .zip files for multiple architectures with FatELF.
But I would indeed call it very-not-alive; their demo image is Ubuntu 9.04
I honestly think the kernel interface is by far the easiest part of building a MacOS compat layer. The userland is gigantic, super complex, and totally closed source. That's the hard part.
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.)
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.
Most kernels are kind of the same really. Some have slightly fancier inter-process communication. Leading to my all-time favorite YouTube video, an explainer on Android IPC cut like a spy thriller. I'm not even joking: https://www.youtube.com/watch?v=Fb4UoqXPEtI
Er, uhm… I have to disagree really. You have monolithic kernels versus micro kernels, I’ve used weird stuff such as DragonFlyBSD, Plan9, and BeOS. Even the Windows NT kernel (now mainline Windows) is a very unusual piece of software engineering.
I guess that depends on where you draw the line at "kernel" and what you consider "unusual".
I study kernels for fun, so I've had a lot of opinions like that over the years, but none survived gaining more experience. For example, I used to think that the Windows NT kernel was a microkernel, then I thought that it was a hybrid, but now I know that it's actually monolithic. Likewise, I now understand that the major differences between the FreeBSD and DragonFlyBSD kernel are really just a few hundred lines of code, nothing major. But if you Google it, it'll make it sound like they're worlds apart.
Part of this is understanding that what people call "the kernel" usually includes a lot of things that, arguably shouldn't be considered part of the kernel proper. And a lot of the differences people cite between kernels come down to different message-passing architectures that are extremely interesting academically, but don't show up in real-world testing.
The sad part is, you can't reach this level of understanding though normal means, every source of information is full of half-truths. You have to dig into the source code and run these things on a bench yourself.