Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Assembler handtuning benefit

Author: Chris Whittington

Date: 08:06:50 11/11/97

Go up one level in this thread



On November 11, 1997 at 08:11:37, Jouni Uski wrote:

>Rebel, Genius and Fritz have written in assebler to get everything
>from prosessor speed. But why are Hiarcs (and possible Junior,
>Shredder etc.) better even if they are pure C programs? Is this
>handtuning totally waste of time or is Mark superior in comparison
>to assembler guys or what ?

1. C compilers are pretty efficient at producing fast code nowadays

2. A good asm programmer can probably always make his code faster though

3. asm programs are much harder to maintain; if they get complex, then
real hard. they get to be full of bugs, remembering which registers hold
what and so on. it can be torture coming back to code written months
before and modifying it.

4. Complex programs are much better written in C. Fewer bugs, easier to
understand.

5. Knowledge programs are complex programs. If you want to try to keep
on improving it here there and everywhere, then C is forced. asm will
produce a pack of card house that falls over and dies.

6. Fast programs with little knowledge almost force the programmer to
eventually convert to asm to try and squeeze out the last performance
increases. When he's done that, its all over. Has to start again with
new program. We may be seeing this phenomenon right now with some well
known commercials.

Chris Whittington




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.