by xvilka · 5y ago · 0 comments
Don't want to end up with every C/C++ compiler being a clang skin in the same way as (almost) every browser is a chrome skin.
And for what it's worth cl compiles faster for me than even clang-cl. I like having both available though.
Why not ?
There is one open C++ spec, that's really hard to implement, so we have a dozen C++ compilers that are impossible to support properly because they each have their own set of different ten thousand bugs.
The value of supporting all of this is really small in practice, and the cost for everybody involved is huge.
Having a single, e.g., C++ parser with a single set of bugs is a much better value proposition for C++ programmers.
Up to 2005 I was using UNIX own C++ compilers, meaning aCC, xlC, SunPRO.
Then there were Microchip, ARM, TI,...
I don't see how focusing the available manpower on one implementation instead of splitting it over 10 different implementations would make this worse.
I do see how it would make this much better.
What one implementation lacks, another implementation provides. This is a weakness of the current ecosystem. Most software projects restrict themselves to the minimum common denominator, and splitting manpower across compilers lowers it.
Honestly, I think it will be great to have one less set of compiler-specific oddities to worry about.
On the other hand, collaboration is also good. Why waste time reinventing the wheel?
Can we be precise here? I never had a memory about a major technical progress being reinventing the wheel.
I have also been told by more than one person that does professional compiler development that GCC's codebase is very difficult to work with. At least some commentary I've read suggests that this was a deliberate choice on the part of the GNU project.
I've wasted too much of my life dealing with compiler differences, and I certainly do want that.
To an extent, processor vendors sell CPU's based on how they perform on SPEC{int,fpu}. So what matters is not how fast your HW is, but rather on how fast the combination of HW + compiler is.