5 ms·
I've seen this "10-20% slower" meme several times, but I've also read several accounts of 10-20% faster runtime performance. All I know for sure is I compiled
by ANH 15y ago
I've seen this "10-20% slower" meme several times, but I've also read several accounts of 10-20% faster runtime performance.
All I know for sure is I compiled my codebase with Clang for the first time yesterday and the compilation time was absurdly short. I thought the compiler was broken. And it enables excellent tools like clang_complete for Vim code completion.
- MBlume 15y agoWoah, let's not conflate compilation-speed with runtime-speed...
- stephen_g 15y agoIt depends on the code - while GCC, being more mature, is typically better at most optimisations, there are a few cases where Clang produces code that is a fair bit faster. Over time, as Clang gets more mature, it will become more and more on par (or better) than GCC.