Re:Toward _FORTIFY_SOURCE Parity Between Clang and GCC
by voldacar on Wednesday February 12, 2020 @08:54PM
(#22314675)
GCC still generates faster binaries (on average across a wide set of benchmarks) than clang as of last year
[ Parent
| on HN ]
Re:Toward _FORTIFY_SOURCE Parity Between Clang and GCC
by big_chungus on Wednesday February 12, 2020 @10:16PM
(#22315051)
Not 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-cla...
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).