Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Professional Chess Engines in C/C++ ???

Author: Dann Corbit

Date: 14:01:54 12/24/02

Go up one level in this thread


On December 24, 2002 at 16:36:56, Russell Reagan wrote:

>On December 24, 2002 at 16:25:25, Dann Corbit wrote:
>
>>Junior (former SSDF #1) was written in C++.  From Amir Ban's comments, it is
>>also clear that he chose an object model.
>
>I once emailed Amir about this C vs. C++ subject, because I heard that he used
>C++. He recommended using C++, but avoiding the slow dynamics (allocation on the
>fly, virtual functions, etc.). So while he may use an object model, he doesn't
>use all of the object oriented features.

The same is true for ordinary C.  If you used malloc/free all the time to modify
things like the hash table and internal data structures, it would be slow as
molasses.

When speed is of paramount importance, you have to be careful no matter what you
do.



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.