Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Reading suggestions on C/C++ speed issues please ?

Author: Dann Corbit

Date: 21:18:30 01/12/01

Go up one level in this thread


On January 12, 2001 at 14:50:08, Georg v. Zimmermann wrote:

>Hi,
>
>I have learned C/C++ with learning by doing like most other programming
>languages I know. Now recently I looked into some C/C++ books in the hope to
>find some things I missed with this method that would make me become a better
>chess (and similar things) programmer. Unfortunately most of the books I looked
>at do not cover programming hints with focus on execution speed. Do you have any
>reading suggestions (webpages/books/..) for me ?

It's not about C or C++, but I strongly recommend the series:
"The Art of Computer Programming" by Donald Knuth (3 books).

Also very good and C++ Specific are Sedgewick and Weiss.  Coincidentally(?)
Sedgewick was a student of Knuth, and Weiss a student of Sedgewick!

Also, look at Mike Lee's stuff:
http://www.ontek.com/mikey/optimization.html

There is more detail on optimization by him in "C Unleashed"

For Assembly Optimization, Paul Hseith:
http://www.azillionmonkeys.com/qed/optimize.html
is very good (and also talks a little about C), and also:

Agner Fog
http://www.agner.org/assem/

Knuth, Sedgewick, and Weiss talk about algorithms.  By choosing a better
algorithm you will gain far more than by tweaking.  Mike, Paul, and Agner talk
about the tweaky stuff.



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.