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 477060
To read all comments associated with this story, please click here.
RE[3]: GCC isn't all that great
by burnttoys on Mon 13th Jun 2011 08:53 UTC in reply to "RE[2]: GCC isn't all that great"
burnttoys
Member since:
2008-12-20

That code can not be vectorised as it is written as 'a' and 'b' may point to overlapping areas of memory.

The 'restrict' keyword is necessary.

Reply Parent Score: 1