Rust and GCC, two different ways
Rust and GCC, two different ways
Posted Oct 4, 2021 20:12 UTC (Mon) by tialaramex (subscriber, #21167)Parent article: Rust and GCC, two different ways
Three. There are exactly three compilers for C++ in 2021. GCC's G++, LLVM's Clang, and the Microsoft Visual C++ compiler. Somewhere in the modern era the pace of development of C++ out-stripped the capacity of third party compiler vendors to keep up, while the price people were willing to pay for a compiler dropped, and they stopped bothering.
Now of course here on LWN we care mostly about Linux, but it's worth reflecting on the fact that "diversity" is often portrayed as a strength of C++ and that diversity consists only of three implementations with fairly incestuous relationships. For example the entire MSVC standard library source is published just like its equivalents from GNU and LLVM, and you will see primary authors of two standard libraries attending talks by authors of the other one on this or that interesting trick they exploited or corner case they wrestled with - after all they're by definition the most interested parties.
If we get two similarly "competing" compilers for Rust that's almost the same diversity.
