Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: C or C++ for Chess Programming?

Author: Vincent Diepeveen

Date: 18:34:10 08/17/00

Go up one level in this thread


On August 17, 2000 at 18:12:50, Dann Corbit wrote:

>I would be interested to see a set of functions that have been turned into a
>class and for which the performance lost is more than 3%.
>
>If you don't use try/catch or RTTI, then the speed difference should be so small
>that it is very hard to measure.  I don't know why you would need RTTI for a
>chess game unless you had some very strange chess variant where you make up new
>piece types on the fly or something.

it wasn't the engine i was talking about. The engine is C and will remain
so till development of C compilers stops.

my experiments were when designing a datastructure for the interface
that is doing database stuff and real soon should be able to play a
simultaneous exhibition also (the datastructure doesn't say anything
about the wm_paint interpretation).

I was looking at multiple inheritance and other similar things
that are in my C++ book. That's something i can't do in C, also
the overloading.

 if( a >= b )
   HeapSort( ..

for a sort algorithm that works at my opening book.





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.