runjake
This project has been largely inactive for some time.

I can't think of many (any?) reasons to run this. The Darwin part of macOS is the least interesting and least capable part of the operating system.

Edit: I used to spend a lot of time hacking on Darwin code until I realized that Apple wasn’t really into open sourcing it. It was just some check mark to check off on.

cpach
Neat project. Only two commits for 2022 though: https://github.com/PureDarwin/PureDarwin/commits/main
DavidPiper
Some previous threads:

2013: https://news.ycombinator.com/item?id=6271241

2016: https://news.ycombinator.com/item?id=11804599

2019: https://news.ycombinator.com/item?id=21644005

2020: https://news.ycombinator.com/item?id=23799331

I went down this rabbit hole for a while at University. I might come back to it one day.

Lammy
Their `libcoreservices` has been useful to me for system-directory discovery on post-macOS-10.9 systems without having to install the whole heavyweight "macOS SDK" behind a Developer login wall: https://github.com/PureDarwin/libcoreservices

These were available in Apple's open-source Libc until (afaict) Libc versions 9xx.x.x, corresponding to Mac OS X 10.9.x: https://opensource.apple.com/source/Libc/Libc-997.90.3/inclu...

They were also available in the Mac OS X / macOS SDK package from as far back as I could find (10.1.x) through macOS 10.11.

- https://github.com/phracker/MacOSX-SDKs/blob/master/MacOSX10...

- https://github.com/phracker/MacOSX-SDKs/blob/master/MacOSX10...

- https://github.com/phracker/MacOSX-SDKs/blob/master/MacOSX10...

macOS 10.12 introduced the new equivalent `sysdir` and deprecated `NSSystemDirectories`. These were only ever available as part of the SDK, not in Libc.

- https://github.com/phracker/MacOSX-SDKs/blob/master/MacOSX10...

- https://github.com/phracker/MacOSX-SDKs/blob/master/MacOSX10...

- https://keith.github.io/xcode-man-pages/sysdir.3.html

TheAceOfHearts
What would you use this for? In what kind of problem or situation would you find yourself for which this tool is the solution?
2bitencryption
Maybe a dumb question, but what's in it for Apple for open-sourcing Darwin?

Is it purely from some license restriction of some software they use?

The next best reason is normally something like "open source code tends to proliferate", like openSSH, Linux, git, etc. But Darwin does not seem to be thriving in this way - from the page, it seems to be a small hobbiest community, and it's not like Apple needs to depend upon the community for their core OS to thrive.

I'm definitely happy Apple releases Darwin as open source, so don't interpret this as me criticizing that. I'm just trying to understand their motive.

freedomben
Is this an official Apple project, and/or is it being run by Apple engineers? It's hard to ascertain the relationship here. I would think it was totally separate but comments have sounded like it's a formal relationship that is known.
Tepix
What are the strengths and weaknesses of Darwin?
raverbashing
So, how behind is Darwin from the current latest Apple OS releases?

How behind is Apple OS from the latest FreeBSD releases?

Samyak1
Like the idea
sr.ht