Talk:Java performance: Difference between revisions

Content deleted Content added
Line 99:
As other posters have pointed out, many parts of the article use biased wording and there is also apparent cherry-picking of benchmarks and benchmark results. I am marking this article POV until the problems are fixed (unfortunately it seems to require a lot of rewriting). [[User:Tronic2|Tronic2]] ([[User talk:Tronic2|talk]]) 14:30, 19 March 2010 (UTC)
: A lot of my time critical code executes in Java (video codecs specifically), but I compile from C++ when I develop (clever macros convert the same source code to either Java or C++). This makes it easy to compare the code speed - as it is the same code. My experience at least is consistent with the article - comparable execution speed in Java and C++. It's worth mentioning that there are a few things I avoid to encourage this - such as no garbage generation / collection. [[User:Stephen B Streater|Stephen B Streater]] ([[User talk:Stephen B Streater|talk]]) 21:25, 19 March 2010 (UTC)
: I think some people see what they want in this article. I think I have to write again my previous answer to somebody else, a long time ago: "(...)I don't think that this article is biased overall. Plus you also seem to do cherry picking. The part about Quake2 is ''The Java 5.0 version performs better in '''some hardware configurations''' than its C counterpart''. And some other parts you did not pick: ''Performance of trigonometric functions can be bad compared to C'', ''JVMs still have scalability issues for performing intensive communication on a Grid Network'', ''Java memory usage is heavier than for C or C++'', ''Java startup time is often much slower than for C or C++''". About garbage collection, reclaiming memory is not only Java related (every real-life C++ program must claim and reclaim memory all the time, with the associated risks of course), and studies (not Java related), show that: good GC can have the same performance as '''good''' manual allocation / deallocation (even faster in some cases), but uses much more memory[http://www.slideshare.net/emery/quantifying-the-performance-of-garbage-collection-vs-explicit-memory-management (see here)]. The fact that Java programs uses more memory than their C counterparts is mentioned clearly here. [[User:Hervegirod|Hervegirod]] ([[User talk:Hervegirod|talk]]) 22:20, 19 March 2010 (UTC)