Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Move generation question for the big boys

Author: Dieter Buerssner

Date: 14:38:20 09/16/01

Go up one level in this thread


On September 16, 2001 at 17:10:21, Bo Persson wrote:

>But the C *language* does not have an 'inline' directive. That is C++!
>I know some compilers have it as an extension (especially if they also complie
>C++), but now we are talking implementation and not language.

I agree with almost everything you said. I just want to note, that ISO C99 has
inline. I assume, soon all major C compilers will support inline, if they don't
do already.

>There is *nothing* in C++ that forces you to write slower code.

I agree here, too.

>There are
>features of C++ that *enables* you to write faster code. You choose!

A seriously meant question: Do you see any other features of C++ besides the
inline, that allows you to write faster code compared to C? Perhaps you can
answer in the context of chess engine (I can see, that one may be able to write
code faster).

Regards,
Dieter




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.