3 ms·
Intel's compiler generates code that runs twice as fast. Speed should really have been in the list. On that note, the whole list looks like it was written from
by JoeAltmaier 14y ago
Intel's compiler generates code that runs twice as fast. Speed should really have been in the list.
On that note, the whole list looks like it was written from the point of view of gcc. Features on other compilers that vary from gcc are given 'partial' credit, since I guess they do it differently and different is bad. And extensions in other compilers are not mentioned at all.
It looks like the 'shootout' was done by standing in gcc's corner and taking pot-shots at everybody else in the room.
- chrisdevereux 14y agoYeah. If only there was some kind of standard that we could evaluate the competing implementations against.
- ajross 14y agoIt was an article about C++11 feature compliance. You're saying that no one should be allowed to write such an article unless they're also prepared to do an (essentially unrelated) benchmarking study? And ICC tends to do quite well, though "twice as fast" is pretty spun (I'm sure there's a vectorizable routine somewhere that does that, certainly most typical code is going to be more in the "even to 10% better" range).
- rayiner 14y agoOnly in relatively rare cases where ICC can auto vectorization and gcc can't. Otherwise, very comparable on 64-bit: http://willus.com/ccomp_benchmark2.shtml?p17 http://willus.com/ccomp_benchmark2.shtml?p17