logoalt Hacker News

scottlamb10/03/20241 replyview on HN

> There is nothing about macOS that is BSD-based. Containing some BSD code does not imply that it is the base. macOS also contains curl code. Would you say macOS is curl-based?

A decent chunk of the kernel was directly lifted from FreeBSD (and in bizarrely stubborn '90s-era design philosophy fashion, glued to Mach); some older stuff from NeXT came from earlier BSD codebases. I see 155 files in the ssh://[email protected]/apple-oss-distributions/xnu.gi repo that still have FreeBSD CVS version tags on them for some reason.

There is no curl code in the kernel. (If you want to be truly pedantic, and I see that you do, there is one shell script in that repo that assumes curl is installed.)


Replies

randomdata10/03/2024

> A decent chunk of the kernel was directly lifted from FreeBSD

Sure, just as we already discussed at the very beginning of our exchange. Glad you able to learn something from our discussion, even if it has taken you an astoundingly long to time to get there. Here I was starting to think you were one of those who reject learning. I am happy to learn that you're just slow.

show 1 reply