Clang vs GCC – which produces faster binaries? [closed]

I’m currently using GCC, but I discovered Clang recently and I’m pondering switching. There is one deciding factor though – quality (speed, memory footprint, reliability) of binaries it produces – if gcc -O3can produce a binary that runs 1% faster, or Clang binaries take up more memory or just fail due to compiler bugs, it’s a deal-breaker.

Clang boasts better compile speeds and lower compile-time memory footprint than GCC, but I’m really interested in benchmarks/comparisons of resulting compiled software – could you point me to some pre-existing resources or your own benchmarks?

7 Answers
7

Leave a Comment