News for hackers. Stuff that matters.
Re:In what cases is Java faster than C++? by cliffr on Wednesday February 16, 2011 @12:46PM (#2227354)
Is the test in the article a valid test? In the Java case the wouldn't the program quit before the garbage collector gets a chance to run? Wouldn't that would be kind of like running the C program without free()?
Re:In what cases is Java faster than C++? by marshray on Wednesday February 16, 2011 @03:33PM (#2228152)
No.

Yes.

Yes.

The benchmark code also re-parses the integer command-line argument on every iteration of the loop.

This benchmark is meaningless.