Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: So how's Java these days? Still slow?

Author: Pham Minh Tri

Date: 19:21:57 05/10/02

Go up one level in this thread


>"6.11 Conclusion
>Today tweaked Java code is a little slower than tweaked C++ code on the average,
>typically around 20-50% slower, but this may vary a lot. In some cases Java is
>up to twice as fast as C++

Unbelievable. I think he must compare the C++ code of a pupil with Java code of
an expert (or he may use an amateur C++ compiler)  ;)

> and in some cases it up to three times slower.
>Untweaked Java code is usually 2.5 – 4 times slower than untweaked C++ code but
>this varies much.
>Tweaking the code causes the readability of the code to be significantly reduced
>and hence also the productivity of the programmer. Fortunately it is very often
>only necessary to tweak very little parts of the code, since very little of the
>code usually is run most of the time."
>
>My suspicion is that tweaking the C++ code will return the 2.5 to 4 x factor.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.