Comment by pjmlp
16 days ago
The question is the performance optimisations on top.
1990's compilers were also super fast, they only did optimisation for size, speed, constant propagation, and little else.
Zero code motion, loop unroling, code elision, heap via stack replacement, inlining,...
Of course, but gcc with -O0 is still slower and there is no TCC for C++.
There are other C++ compilers to benchmark against, using the same common C subset for comparison, though.
Is there still any non-LLVM C++ compiler left besides GCC? LLVM is not exactly known for its speed.
2 replies →