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 476856
To read all comments associated with this story, please click here.
Results are Implementation dependent
by Alfman on Fri 10th Jun 2011 22:38 UTC
Alfman
Member since:
2011-01-28

I didn't see anything about which compilers they chose to compare.

Performance characteristics not the result of language syntax so much as the implementation of the compilers and supporting libraries. Google should have known this from the get go, so why didn't they compare implementations?

The significant variation in performance between C/C++ compilers clearly prove (as if any proof was needed) that compiler implementations do matter.

Another point is that some language implementations (eiffel) compile down to C and then are compiled/optimized by the C compiler.

The question of which language syntax performs better is meaningless.

Reply Score: 3