Author: Dann Corbit
Date: 13:17:08 05/09/02
Go up one level in this thread
On May 09, 2002 at 10:33:52, Russell Reagan wrote: [snip] >In the book, "Java in a Nutshell", the author writes: "Although early releases >of Java suffered from performance problems, the speed of the Java VM has >improved dramatically with each new release...Java programs can execute at >speeds comparable to the speeds of native C and C++ applications." So while this >is true for some applications where performance isn't even an issue, like maybe >a word processor, is this true for a chess program or other game playing >programs? "Nutshell" is the keyword. Heavy on the "Nut" part of it. Well actually, the speed is comparable. It compares a lot slower. All that having been said, your algorithms will be far more important than your language choice. A brilliant Java chess program on a lousy Java interpreter will clobber a crappy C++ or C chess program compiled with the finest C compiler known to man. On the other, other hand -- if you take that same Java program and translate it to C++ or C it will be 4 times faster. That's about 100 ELO.
This page took 0.01 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.