@Suiseiseki @SuperDicq Apple had funded LLVM for years at that stage and moved t...

@david_chisnall@infosec.exchange

@Suiseiseki @SuperDicq

Apple had funded LLVM for years at that stage and moved to it as soon as it was ready - GCC made no difference to the decision

Apple had funded LLVM primarily for their shader compiler. They shipped llvm-gcc, which used the GCC front end and LLVM on the back end. The switch to GPLv3 made them write and release the initial version of clang as a replacement.

The final version of GPLv3 was released in June 2007. GCC 4.2.2 was the first GPLv3 release. It shipped in October 2007. The announcement of the GPLv3 switch came earlier, the FSF had announced over a year before the GPL was released that all FSF projects would be switching. The initial clang code drop (which was a barely-functional C front end, the result of a few months work of one person) was published in July 2007.

This was not 100% motivated by the license, GCC was also hard to use for things like syntax highlighting. In addition to the license, GCC did constant folding in the front end so if you wrote 3 + 4 you'd get an AST node saying 7, which isn't helpful for working out how to colour the tokens 4, +, and 4.

The licence is actually the least of the obstacles for modern IDEs. Most IDEs now use the language-server protocol and so having an AGPLv3 (let alone GPLv3) LSP implementation talking to a proprietary IDE is completely permitted by the license.

So GPLv3 did push away contributors, but it also didn't prevent cooption in proprietary ecosystems. Yay?