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 476929
To read all comments associated with this story, please click here.
RE[4]: GCC isn't all that great
by Neolander on Sat 11th Jun 2011 10:15 UTC in reply to "RE[3]: GCC isn't all that great"
Neolander
Member since:
2010-03-08

I'd argue that the C/C++ developer shouldn't have to do black magic in order to optimize its code either.

Alfman's use of for loops is perfectly normal, easy to understand, and you'll find it in every book on C. One shouldn't have to sacrifice code clarity like you did in order to get better performance, especially on such trivial code.

Reply Parent Score: 2