Computer Chess Club Archives


Search

Terms

Messages

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

Author: Tom Kerrigan

Date: 15:56:15 08/16/00

Go up one level in this thread


C++ is a superset of C.

You will be able to write your chess program in C, compile it with a C++
compiler, and get exactly the same performance.

If you use C++ features, your performance will decrease depending on which
features you use and how often you use them. The performance hit can range from
trivial to extreme.

In my opinion, the goal of OOP is to organize and simplify complicated things. I
don't think a chess program is so complicated that it can benefit from OOP.

-Tom



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.