(clang and llvm are also open by choice)
I do like the fact that we now have two competing compilers and llvm brought a lot of innovation, but everyone know that only reason Apple invested in these projects is to avoid GPLv3.
And yeah at the same time Apple's locked platform and Webkit-only policy saves us from Chromium monopoly over the web and helps Firefox live. So yeah world is not just abstract "good and evil" obviously.
So if that's the only reason, then why did Apple hire Lattner to work on llvm in 2005 (two years prior to gcc's switch to v3)?
Surely it would have been easier to just fork one of the GPLv2 releases from 2007 or earlier.
Also GPLv3 was officially announced in 2005. It's was just matter of time before all GNU projects switch to new license version. And it was certainly.
https://www.zdnet.com/article/gpl-3-may-tackle-web-loophole/
Oh and there was plans to release GPLv3 even earlier in 2004 and it's was known that it's will include patents grant. This was obviously absolutely unacceptable for Apple:
Also Valve didnt start to use open source packaging software and haven't even made their own game engine source-available let alone open source. Yes it's nice they improving Linux graphics stack, but they also could do much more.
Like really I dont use Epic Games Store to buy anything neither I support the way they try to capture market share. But any attacks on locked down platforms is a good thing for FOSS.
But in their attacks on Walled Garden - 100% behind them for that.
If they gonna win in battle with Apple and will be allowed to have their own store then it's also make it possible to setup more of alternative stores for e.g open source software without waiting for jailbreak.