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'."
Permalink for comment 477038
To read all comments associated with this story, please click here.
RE[5]: GCC isn't all that great
by moondevil on Sun 12th Jun 2011 21:00 UTC in reply to "RE[4]: GCC isn't all that great"
Member since:

You are forgetting something in your examples.

It used to be so that most humans could beat compiler generated code. In this day and age it is only true for small code snippets or simple processors.

Most up to date processors use out-of-order execution with superscalar processing units, and translate CISC instructions into microcode RISC like code. And this varies from processor model to processor model within the same family even!

It is very hard for most humans to still be able to keep all processor features on their head while coding assembly and still be able to beat the code generated from high performance compilers. Not GCC, but the ones you pay several thousand euros/dollars for, with years of research put into them.

Reply Parent Score: 2