[HN Gopher] PureDarwin ___________________________________________________________________ PureDarwin Author : tsujp Score : 65 points Date : 2022-07-01 06:47 UTC (16 hours ago) (HTM) web link (www.puredarwin.org) (TXT) w3m dump (www.puredarwin.org) | Lammy wrote: | 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 | [deleted] | TheAceOfHearts wrote: | 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 wrote: | 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. | humanwhosits wrote: | Perhaps it's useful for 3rd parties trying to develop device | drivers. Can read the code when they're wondering why something | is the way it is | Lammy wrote: | It is -- or at least _was_ , before LLVM/Clang existed and | before Apple's GPLv3 Eternal September -- a good way for them | to give away something with no actual strategic value as a | preemptive ideological rebuttal against their own use of Free | Software in their otherwise-proprietary products. | freedomben wrote: | 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. | runjake wrote: | 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. | cpach wrote: | Neat project. Only two commits for 2022 though: | https://github.com/PureDarwin/PureDarwin/commits/main | naikrovek wrote: | Yeah, I wish this was kept up to date. I can't imagine it had a | large user base, though, and I'm sure it was always a labor of | love. Labors of love can die quick if there isn't interest or | if someone expresses distaste in the product of the effort. | smm11 wrote: | I thought this died about ten years ago. ___________________________________________________________________ (page generated 2022-07-01 23:00 UTC)