logoalt Hacker News

miki123211 • today at 9:01 AM • 3 replies • view on HN

MacOS, like Windows and unlike Linux, doesn't have a stable syscall interface. apps are instead required to dynamically link with libraries shipped with your system, which change in lockstep with the syscalls.

This would make it possible to run the MacOS userspace on top of actual Linux, with little to no work in the kernel.

I think that would be a more interesting effort to pursue.


Replies

mike_hearn • today at 9:17 AM

That's the Darling project.

➕ show 1 reply
onyx47 • today at 10:36 AM

yeah i guess you're right about the libraries

i think it goes a bit further than that though

a lot of macos stuff runs in daemons that kind of depend on each other

i ran into this turning features off on macos 27

the spotlight window there actually runs as a process called Siri

so if you turn siri off, spotlight changes too

i'd guess there's a lot more of that once you start pulling pieces out

pjmlp • today at 9:35 AM

Like most operating systems, Linux is the exception here.