Hacker News new | ask | show | jobs
by sqeaky 3397 days ago
My understanding was that GCC was better in more scenarios most of the time, but now it seems like Clang has caught up. and Maybe Clang 4.0 is even faster in more.

Here are some recent benchmarks from phoronix: http://www.phoronix.com/scan.php?page=article&item=gcc7-clan...

1 comments

Yeah. But in this kind of tuned benchmark, I doubt clang will do any better across the board - especially not considering the fact that the current programs are likely to be at least somewhat tuned specifically for gcc.
Clang does well enough to be the default compiler for Apple and Google. It can't be that far behind.
Oh yeah, I have no reason to believe it's worse; it's just that I also doubt it's going to help much either.

But... trial and error and all ;-).