Author: Peter Kappler
Date: 19:21:18 01/06/03
Go up one level in this thread
On January 06, 2003 at 14:20:38, Robert Hyatt wrote: >On January 06, 2003 at 12:36:19, Graham Laight wrote: > >>On January 06, 2003 at 08:51:31, scott farrell wrote: >> >>>>single cpu K7 1.6Ghz 70k nps - 80k nps for DIEP. >>> >>>That seems extremely slow. >>> >>>Crafty does about 600Knps on about a PIII-1000. >>> >>>My little chompster under java does about 70-80Knps on a PIII-1000, it is bit >>>board also (dare I mention that?). >>> >>>I am guessing that you are using compiled c/c++ and maybe some assembler. >> >>Java is a compiled language - it ought to be nearly as quick as C. >> >>Does anyone have compilers for both languages? >> >>It would be very interesting to do a simple for loop (with a simple action in >>the loop) to compare the relative speed of the two languages. >> >>One big advantage of Java is, of course, that it can be used on any platform >>which has a JVM - thus eliminating compatibility problems in theory. >> >>Also, is your Java chess program on the WWW? If so, please post the address. >> >>Take care, >>-g > >If you are talking about a JVM, then you are _not_ talking about a "compiled >language". There is a _huge_ difference between executing some sort of >pseudo-code vs native machine language instructions. A native JAVA compiler >could work just fine with care, but not one that needs the virtual machine to >run. It will _never_ come within a factor of ten of a well-written C program. > Where did you get 10x? In my experience, it's more like a factor of 1.5 or 2, which is consistent with what others Java programmers have reported. For example, Grok averages 250knps on an Athlon 1400, and that's with some really slow eval and attack table stuff that I could easily remove if I just wanted more speed. So, either your factor of 10 is way off, or I'm just a port to C away from having the fastest chess program in the world by a pretty big margin. -Peter > > >> >>>Do you have a heavier eval than crafty, more SEE type evals ? >>> >>>I ahve seen many other amateur program do arounf the 80-100Knps speed, and many >>>commericials are more like crafty, in the 500-1000Knps. >>> >>>Scott
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.