Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Any reason to use C?

Author: Bo Persson

Date: 11:46:15 07/29/03

Go up one level in this thread


On July 28, 2003 at 17:34:46, Russell Reagan wrote:

>Is there any reason to start new projects with C anymore? It seems like most (if
>not all) of the drawbacks of C++ have faded away with modern compilers.

Of course. When we compare speed here the question is most often "Which compiler
is the fastest MSVC++ or Intel C++?". Gives a good clue, no?


>
>Note that I am talking about new projects, and maintaining old projects is
>obviously a good reason to still use C.


If you are comfortable with C++ it is a very good choice for building your
abstractions, like Piece, Move, Board, etc.


Right now, the focus on C++ specific groups has turned from having a complete
implementation to having the *fastest* implementation. I saw just last week that
MSVC7.1 now compiles the Boost library without a single error. That means that
these guys can now shift from looking for workarounds to looking for speedups.


Like I mentioned the other week, Apple has also hired Matt Austern, one of the
true C++ Gurus, to make sure that their Mac G5 using gcc will be competitive
with Intel. I am sure we will all benefit from his continued work on the
standard library, he being the original author of SGI STL/STLport and all.

http://www.lafstern.org/matt/


IMO there is a good future for C++!



Bo Persson
bop2@telia.com






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.