3 ms·
> The GNU tools in particular are optimized for their target end-user base. Yeah, I'm thinking maybe you didn't use MetroWerks CodeWarrior or Borland C++ back
by bitwize 6y ago
> The GNU tools in particular are optimized for their target end-user base.
Yeah, I'm thinking maybe you didn't use MetroWerks CodeWarrior or Borland C++ back in the day.
Those IDEs could scream through compiling a C++ code base, and provided superb integration between the compiler, editor, and debugger.
Gcc by comparison is slow, and the tooling is still stone knives and bearskins compared to what Windows and Mac users had in the 90s.
So either the target end user base is people who don't mind slow compilers and poorly integrated tools (maybe understandable in the embedded world where it's that or nothing for some arcane CPU architecture), or the GNU tools are poorly optimized.
- yjftsjthsd-h 6y agoYou're not comparing apples to apples. Compare gcc or clang to Microsoft's C++ compiler from 2020, and you'll find that they're doing just fine. What's changed is that rather than a compiler that takes C++ in and produces x86 executable output, we have compiler suites that take input from C/C++/Fortran/whatever, runs it through a few decades' worth of optimizations, and then target the result at Linux/*BSD/NT/Darwin on ARM/x86/POWER/RISC-V/SPARC/MIPS. And optimizations are expensive.