> My favourite C compiler most certainly is not written in C++.
So which one it is?
As gcc, clang, icc, VC++, C++ Builder are all written in C++.
Are you using tcc for production work?
> Many people write programmes in C++, unfortunately. Any Qt programme is written in C++, all performance-dependent modern libraries are written in C++.
Sure, even I do it.
But we only do it, because during almost two decades C and C++ became the only options available for compiling code AOT to native code, with support for value types.
And I would never ever use C willingly, so C++ it is.
But the wind is changing and the choice for programming languages with AOT compilation to native code and support for value types, is widening.
> Whether people write every layer of their programme in C++ is irrelevant.
No, it reduces the usefulness of the language, the bigger the upper layers are, eventually the underlying layer can be migrated to something else.
For example, Oracle is planning to replace Hotspot (C++) with Graal (Java) in the long term. Likewise Microsoft has plans to replace parts of CLR with C# now that there is .NET Native.
So which one it is?
As gcc, clang, icc, VC++, C++ Builder are all written in C++.
Are you using tcc for production work?
> Many people write programmes in C++, unfortunately. Any Qt programme is written in C++, all performance-dependent modern libraries are written in C++.
Sure, even I do it.
But we only do it, because during almost two decades C and C++ became the only options available for compiling code AOT to native code, with support for value types.
And I would never ever use C willingly, so C++ it is.
But the wind is changing and the choice for programming languages with AOT compilation to native code and support for value types, is widening.
> Whether people write every layer of their programme in C++ is irrelevant.
No, it reduces the usefulness of the language, the bigger the upper layers are, eventually the underlying layer can be migrated to something else.
For example, Oracle is planning to replace Hotspot (C++) with Graal (Java) in the long term. Likewise Microsoft has plans to replace parts of CLR with C# now that there is .NET Native.