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 477100
To read all comments associated with this story, please click here.
RE[4]: GCC isn't all that great
by Alfman on Mon 13th Jun 2011 19:51 UTC in reply to "RE[3]: GCC isn't all that great"
Member since:


Thanks for the feedback.

For me GCC does use SSE for me with and without '-ftree-vectorize' (when I tweak the C source code).

I couldn't get GCC to do vector math without changing the source file to calculate the number of loops for GCC. In a case as simple as this, the compiler should have been able to handle it.

I know Valhalla is complaining about this specific example (not sure why?), but I do frequently come across issues like this in much more complex code where GCC misses an equally trivial optimization.

Reply Parent Score: 2