Computer Chess Club Archives


Search

Terms

Messages

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

Author: Vincent Diepeveen

Date: 15:03:33 08/17/00

Go up one level in this thread


On August 17, 2000 at 16:38:11, Bo Persson wrote:

>On August 17, 2000 at 06:41:28, Vincent Diepeveen wrote:
>
>[...]
>>
>>Oh well, in this same thread Tom explains that even TSCP already
>>got 5% slower just litterary changing code to .cpp and after having put
>>it in a class.
>>
>>That's quite a penalty for doing exactly the same!
>
>Ok, so you mean that
>
>class chess {
>#include "oldchess.c"
>}
>
>is a good test for C++ performance?

Oh duh, i could have known Tom converted it to c++ that silly.

just extern C {
is also not what i mean.

>
>At least we now now that bad C++ is 5% slower than good C.
>
>What do we learn next?
>
>> [...]
>
>
>
>Bo Persson
>bop@malmo.mail.telia.com



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.