| > GCC and GDB have ... switch[ed] from C to (a strict subset of) C++ to simplify at least some of the more painful C hackeries. Interesting! Where can I read more about this? Is it true that gcc compiles using g++? That's rather amusing. :) > "We can drop support legacy compilers and platforms (looking at you, MS-DOS)." > how is that an opportunity when it effectively removes support for platforms. Supporting MS-DOS is something of a challenge now. I've not done any research but I have vague notions that GCC ports aren't really being maintained anymore. Besides that, many platforms (for example BeOS) are stuck on GCC 2.95.3, a rather famous last version using a particular ABI. A lot of stuff is stuck on that GCC version. (I don't know many details, although I'm very interested to learn more if anyone else has any insight.) With the above said, I do disagree with wholesale willingness to summarily sweep legacy platforms off the table. Rust has saved itself some maintenance nightmares because it doesn't support DOS, but it means quite a large number of people are still stuck on C for industrial control system tooling. (Granted, I can't deny that I'm talking about a really tiny niche here...) |
You can find everything related to GCC's C++ transition here:
https://gcc.gnu.org/wiki/gcc-in-cxx
On Windows even the C runtime, MSVCRT.dll got re-written in C++ and the C functions are actually extern "C" ones.
https://blogs.msdn.microsoft.com/vcblog/2014/06/10/the-great...
So a kind of small victory for us on the C++ side of the fence on the endless C vs C++ discussions.
Now the joke "my compiler compiles yours" has been reversed.