Linked by ebasconp on Fri 10th Jun 2011 22:22 UTC
Benchmarks "Google has released a research paper that suggests C++ is the best-performing programming language in the market. The internet giant implemented a compact algorithm in four languages - C++, Java, Scala and its own programming language Go - and then benchmarked results to find 'factors of difference'."
Thread beginning with comment 476862
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Really?
by Neolander on Fri 10th Jun 2011 22:54 UTC in reply to "Really?"
Member since:

Depends on who codes the assembly. I've heard once that 90% of ASM developers can't beat the output of a modern optimizing C/C++ compiler.

Reply Parent Score: 4

RE[2]: Really?
by poundsmack on Fri 10th Jun 2011 22:56 in reply to "RE: Really?"
poundsmack Member since:

That's very true, it all really depends on the quality of the code. And with Intel's C++ compiler, a well coded C++ program can get pretty fast depending on the operation.

Reply Parent Score: 6

RE[3]: Really?
by viton on Sat 11th Jun 2011 10:55 in reply to "RE[2]: Really?"
viton Member since:

And with Intel's C++ compiler

You think of ICC as it has been sent by God from heaven.
In reality it is just +-5% difference on average between ICC and GCC4 on performance side.

Reply Parent Score: 3

RE[2]: Really?
by ShadesFox on Sat 11th Jun 2011 04:10 in reply to "RE: Really?"
ShadesFox Member since:

And even when you can beat the compiler, often it isn't worth the time sunk into the asm coding to beat the compiler.

Reply Parent Score: 2