Linked by Thom Holwerda on Tue 12th Oct 2010 21:52 UTC
Java "Oracle and IBM today announced that the companies will collaborate to allow developers and customers to build and innovate based on existing Java investments and the OpenJDK reference implementation. Specifically, the companies will collaborate in the OpenJDK community to develop the leading open source Java environment."
Thread beginning with comment 445117
To view parent comment, click here.
To read all comments associated with this story, please click here.
Member since:

Oh, well of course if you factor in the time the JRE needs to get started it will be slower. Why not do a test where the user is prompted to press "Enter" and the time to completion is measured programmatically? Would be a heck of a lot more meaningful.

Yes OK, I've done it and Java is still about 3.5 times slower than C on this simple benchmark.

Reply Parent Score: 1

Moochman Member since:

My guess is it has to do with the fact that it is dynamically allocating space on the heap. Try allocating the space in advance by adding the -Xms command-line switch and see if that improves things.

Reply Parent Score: 2