What makes Apple valuable is precisely its full vertical integration. Nobody else does it at that scale except maybe Sony for consoles and Microsoft but both don't have the same usage coverage and thus integration.
It wouldn't be economically rational for Apple to bring down its own moat.
I don't have numbers on that but I bet purchase of brand new MacOS compatible devices is 99% or more from people who already have at least one or more other Apple devices.
Sure they are probably thousands if not millions of (in the positive sense) nerds and geeks posting on HN about buying a Mac first hand, not second hand, solely to put Linux on it but even then would be a drop in the ocean compared to the remained sales.
Still if you have numbers on that I'd love to be wrong about it.
Swift comes to mind, and this website has more https://opensource.apple.com/projects/ (it lists WebKit, but I guess they count WebKit after it split from KHTML, I’d agree with you there)
Also, Bonjour originated at Apple and it is cross-platform, although Avahi probably is more popular
CUPS is associated with Apple as well, but it seems that it also did not originate there
I was going to say swift, but I figured someone would undercount that because it is so overly relevant as an iOS/Mac development language even though it really is a pretty good portable language. But man... undercounting webkit and clang+llvm is a new level of ignorance..
It is ignorance to call them apple projects when they really aren't. The copyright notice of webkit is full of emails like @kde.org… wonder why it's not entirely @apple.com?
In both cases you're undercounting apples investment just to make a really dense point on HN.
1) khtml was a really minimal renderer in KDE before apple pumped tens of millions into turning it into the first really modern web2.0 browser, you really can not underestimate the amount of money jobs was willing to pump to make that thing what it became by the time the iphone launched.
2) llvm was essentially apple's bet on a grad student hire and him and his lab's academic project. I knew and worked with several of those former uiuc guys. llvm and clang as we know them today were heavily built at apple.
Also, you are totally (and purposefully probably) misquoting me. I said __clang__ and the __llvm arm64 backend__ were done by apple, and they were almost entirely from scratch from the start at Apple.
Why would they "chip in" here?