3 ms·
GCC still generates faster binaries (on average across a wide set of benchmarks) than clang as of last year
by voldacar 7y ago
GCC still generates faster binaries (on average across a wide set of benchmarks) than clang as of last year
- loeg 7y agoBetter debuginfo (still), too.
- big_chungus 7y agoNot that much faster. Most benchmarks find that GCC is a little ahead, but not much: https://www.phoronix.com/scan.php?page=article&item=gcc9-clang8-hedt&num=6 https://www.phoronix.com/scan.php?page=article&item=gcc9-cla... https://medium.com/@alitech_2017/gcc-vs-clang-llvm-an-in-depth-comparison-of-c-c-compilers-899ede2be378 https://medium.com/@alitech_2017/gcc-vs-clang-llvm-an-in-dep... Remember that these are both Linux benchmarks; GCC on windows is a bit sketchy with MinGW. Things can usually be made to work, but Clang is the only real competitor to MSVC (unless you're counting Intel's crazy-expensive offering, which is not intended for general use).