PDA

View Full Version : Speed Test: Comparing Intel C++, GNU C++, and LLVM Clang Compilers


sl4shd0t
11-05-2013, 03:33 AM
Nerval's Lobster writes "Benchmarking is a tricky business: a valid benchmarking tries to remove all extraneous variables in order to get an accurate measurement, a process that's often problematic: sometimes it's nearly impossible to remove all outside influences, and often the process of taking the measurement can skew the results. In deciding to compare three compilers (the Intel C++ compiler, the GNU C++ compiler (g++), and the LLVM clang compiler), developer and editor Jeff Cogswell takes a number of 'real world' factors into account, such as how each compiler deals with templates, and comes to certain conclusions. 'It's interesting that the code built with the g++ compiler performed the best in most cases, although the clang compiler proved to be the fastest in terms of compilation time,' he writes. 'But I wasn't able to test much regarding the parallel processing with clang, since its Cilk Plus extension aren't quite ready, and the Threading Building Blocks team hasn't ported it yet.' Follow his work and see if you agree, and suggest where he can go from here." http://a.fsdn.com/sd/twitter_icon_large.png (http://twitter.com/home?status=Speed+Test%3A+Comparing+Intel+C%2B%2B% 2C+GNU+C%2B%2B%2C+and+LLVM+Clang+Compilers%3A+http %3A%2F%2Fbit.ly%2F1dIpND5) http://a.fsdn.com/sd/facebook_icon_large.png (http://www.facebook.com/sharer.php?u=http%3A%2F%2Ftech.slashdot.org%2Fstor y%2F13%2F11%2F04%2F1913246%2Fspeed-test-comparing-intel-c-gnu-c-and-llvm-clang-compilers%3Futm_source%3Dslashdot%26utm_medium%3Df acebook) http://www.gstatic.com/images/icons/gplus-16.png (http://plus.google.com/share?url=http://tech.slashdot.org/story/13/11/04/1913246/speed-test-comparing-intel-c-gnu-c-and-llvm-clang-compilers?utm_source=slashdot&utm_medium=googleplus)

Read more of this story (http://tech.slashdot.org/story/13/11/04/1913246/speed-test-comparing-intel-c-gnu-c-and-llvm-clang-compilers?utm_source=rss1.0moreanon&utm_medium=feed) at Slashdot.
http://slashdot.feedsportal.com/c/35028/f/647376/s/334b4145/sc/4/mf.gif


http://da.feedsportal.com/r/180263494921/u/49/f/647376/c/35028/s/334b4145/sc/4/rc/1/rc.img (http://da.feedsportal.com/r/180263494921/u/49/f/647376/c/35028/s/334b4145/sc/4/rc/1/rc.htm)
http://da.feedsportal.com/r/180263494921/u/49/f/647376/c/35028/s/334b4145/sc/4/rc/2/rc.img (http://da.feedsportal.com/r/180263494921/u/49/f/647376/c/35028/s/334b4145/sc/4/rc/2/rc.htm)
http://da.feedsportal.com/r/180263494921/u/49/f/647376/c/35028/s/334b4145/sc/4/rc/3/rc.img (http://da.feedsportal.com/r/180263494921/u/49/f/647376/c/35028/s/334b4145/sc/4/rc/3/rc.htm)

http://da.feedsportal.com/r/180263494921/u/49/f/647376/c/35028/s/334b4145/a2.img (http://da.feedsportal.com/r/180263494921/u/49/f/647376/c/35028/s/334b4145/a2.htm)http://pi.feedsportal.com/r/180263494921/u/49/f/647376/c/35028/s/334b4145/a2t.imghttp://feeds.feedburner.com/~r/Slashdot/slashdotDevelopers/~4/9S5F0RMCSuk

More... (http://rss.slashdot.org/~r/Slashdot/slashdotDevelopers/~3/9S5F0RMCSuk/story01.htm)