Linked by Thom Holwerda on Sat 8th Oct 2005 18:40 UTC, submitted by anonymous
Java Programmers agonize over whether to allocate on the stack or on the heap. Some people think garbage collection will never be as efficient as direct memory management, and others feel it is easier to clean up a mess in one big batch than to pick up individual pieces of dust throughout the day. This article pokes some holes in the oft-repeated performance myth of slow allocation in JVMs.
Thread beginning with comment 42072
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Doesn't matter....
by Simba on Sun 9th Oct 2005 01:50 UTC in reply to "Doesn't matter...."
Simba
Member since:
2005-10-08

"I have yet to find a Java application that doesn't run like crap, dog slow, etc. When you use a Java app, you know it, because they just suck so bad it's obvious."

ThinkFree Office blows OpenOffice away when it comes to performance. It starts up many times faster, and is significantly faster when using it as well.

And guess what? ThinkFree is written entirely in Java.

Reply Parent Score: 1

RE[2]: Doesn't matter....
by Kelson on Sun 9th Oct 2005 02:02 in reply to "RE: Doesn't matter...."
Kelson Member since:
2005-07-06

And Microsoft Office is better than ThinkFree...

- Kelson

Reply Parent Score: 1

RE[3]: Doesn't matter....
by rayiner on Sun 9th Oct 2005 02:06 in reply to "RE[2]: Doesn't matter...."
rayiner Member since:
2005-07-06

So we have three data points:

OpenOffice is written in C/C++ and is slow.
ThinkFree Office is written in Java and is fast.
Microsoft Office is written in C/C++ and is fast.

A statistician would say: you don't have enough data to make a valid judgement.

An engineer would say: the algorithms of the software likely matter less than the language.

A programmer would say: C/C++ must be better!

The statistician is, of course, the one whose right, but the engineer's conclusion is useful, while the programmer's conclusion is completely in left-field...

Reply Parent Score: 3

RE[3]: Doesn't matter....
by Simba on Sun 9th Oct 2005 02:09 in reply to "RE[2]: Doesn't matter...."
Simba Member since:
2005-10-08

"And Microsoft Office is better than ThinkFree..."

ThinkFree is almost as fast as Microsoft Office. And it costs $45 instead of $300 for Office 2003 Standard.

But that's not the point. The point is that it is an example where a similar application written in C++ performs far worse than one written in Java. So your argument is void.

Reply Parent Score: 0