Linked by Thom Holwerda on Fri 20th Feb 2009 15:49 UTC, submitted by Michael
Benchmarks "Earlier this month we published an article looking at the Linux versus OpenSolaris performance when using the new AMD Shanghai Opteron CPUs. Ubuntu Linux was faster than OpenSolaris 2008.11 in nearly all of the tests, but as mentioned in that article, OpenSolaris is still dependent upon GCC 3.4 where as Ubuntu and most other Linux distributions are now shipping with the newer and much-improved GCC 4 series. Following that article being published, Sun Microsystems had requested some compiler tests since they were confident the results would be different had their Sun Studio compiler been used. Well, in this article we now have some OpenSolaris benchmarks from the same AMD setup using GCC 3.4, GCC 4.0, and Sun Studio 12."
Thread beginning with comment 350102
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[4]: Compiler benchmarks...
by abraxas on Sat 21st Feb 2009 14:20 UTC in reply to "RE[3]: Compiler benchmarks..."
Member since:

I think it's pretty obvious that in that case you would use both compilers. The faster compiler at your desk and the better optimizer on the build farm. Infact, companies pretty much already do this with debug builds for developers.

That sounds like a really bad idea. What if it compiles fine on one compiler but doesn't on the other? An application should really be tested with the compiler it is going to be built with.

Reply Parent Score: 2