Computer Chess Club Archives


Search

Terms

Messages

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

Author: Severi Salminen

Date: 14:06:18 08/16/00

Go up one level in this thread


>The efficiency difference is not important enough to worry about.  Any
>differences in strength will be far more dominated by your choice of algorithms
>than by your choice of compiler.  The biggest difference a compiler will make >is a small constant factor.

What I ment was the difference between C and C++ in efficiency? Do objects have
any tendency to be faster/slower than traditional implementations of same
algorithms?

>I would write in whichever I was more comfortable with, if I were you.  Since
>you are new to OOP, I suspect your C++ implementation would be dissapointing.
>On the other hand, it would be a good way to learn the language better.

>You will be dissapointed with the free Borland compiler for Chess programming.
>If you just want something free, I think you will find that Cygnus GCC emits
>better binaries.

Well, the compiler performance is not a big issue here as I can allways chance
to more efficient compiler. I hope Borland follows the normal ANSI-C
standards... Where can this Cygnus GCC be found?

Severi



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.