The GCC has the advantage, that you get it almost everywhere and many programmers design their makefiles in a way as it is the only compiler in the world (on SPARC we have the
GCCfss to solve that issue. But the GCC isn´t necessarily the compiler yielding the best results. Stanislav Mekhanoshin shows in
Getting The Best AMD64 Performance With Sun Studio Compilers to use the Sun Studio Compiler Suite to get optimized results on a AMD Opteron system as an example. I was aware of the fact, that using GCC on a SPARC system isn´t really a good idea, but the performance wins on AMD64 are nice as well (albeit you should take the results with a grain of salt, as he doesn´t describe the compiler settings of the gcc):
By using the Sun Studio 11 compilers and the right compiler options we've sped up the sed utility from 12 seconds to less then 5 seconds – making it 60% faster without recoding. We now have a version of sed that runs 35% faster than the gcc compiled version
By the way, there is a Linux version of the Sun Studio Compiler Suite. So using Linux isn´t really an excuse for using GCC. And an additional suggestion: Patch you compiler on a regular schedule to get the updates for new processors, for example
for the Intel Woodcrest or AMD Barcelona architectures
Comments
Tue, 02.12.2008 22:33
Apropos. Bei Golem gibts ein U pdate. http://www.golem.de/08 12/63899.html
Tue, 02.12.2008 15:18
Na ja, ganz so drastisch würde ich das nicht formulieren, NA T hat auch seine guten Seiten. Mir fallen nur gerade k [...]
Tue, 02.12.2008 09:40
Hehe, funny link. My blog is a n ESTP, so it almost matches m y personal ENFP type. I really would like to know how [...]
Tue, 02.12.2008 07:41
It uses OpenSource components ... Fishworks isn´t the Filer product. Fishworks is a softwa re to build appliances. [...]
Tue, 02.12.2008 07:36
Ich werde da auf jeden Fall no ch mal weiter genau weiterlese n. Achja und AAJ42 ist in der tat hochinteressant ....