Author: Dann Corbit
Date: 15:30:32 11/28/01
Go up one level in this thread
On November 28, 2001 at 18:23:19, Peter Kappler wrote: >On November 28, 2001 at 14:33:52, Dann Corbit wrote: > >>On November 28, 2001 at 02:46:01, Peter Kappler wrote: >>[snip] >>>> In short, I think >>>>it is silly to write chess programs in Java. If you are truly an expert, you >>>>might write better algorithms to make up the difference. But if that were the >>>>case, why wouldn't you have the good sense to have written them in C or C++ in >>>>the first place? >>> >>>Or the great sense to write it in Assembly? ;) >> >>A far worse decision. You would have to do a complete rewrite for each new >>chip. You might write tiny bits in assembly for the hottest hot-spots, but I >>firmly believe that it would be a tragic mistake to write the whole thing in >>assembly. I know that there are commercial products that do use assembly in >>total. These are the same ones that have a great deal of trouble making rapid >>changes to keep up with evolving machines and operating systems. >> >>You have to be world-class in assembly language to do as well as a modern >>optimizing C compiler. And then a new chip comes out and... > > >Hmmm, I guess you didn't notice my smiley-face? > >Or maybe it was easier to respond to that point than to justify your comments >about garbage collection. :) Definitely. It seems that Java has grown up quite a bit since my earlier experiences with it, anyway. It used to be such a dog that the first time I tried it, I was enormously disappointed. I still think that Java for a chess engine is a big mistake[0] but maybe not a collosal one. [0] Of course, if Java is the only language that you know, it's probably a big mistake to write it in something else. And if you have the guts to give up a 1/2 to 2/3 performance edge before you start, you might be driven to produce some spectacular new algorithms[1] [1] But I doubt it. After all, the competition would still drive you to do better if you were the best in the world, wouldn't it? Maybe even more so[2] [2] Of course, how would I know? ;-)
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.