Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: assembler vs. C

Author: Bernhard Bauer

Date: 05:27:07 11/08/99

Go up one level in this thread


On November 08, 1999 at 06:02:53, leonid wrote:

>On November 08, 1999 at 04:40:26, Bruce Moreland wrote:
>
>>On November 07, 1999 at 22:58:55, leonid wrote:
>>
>>>If you write your chess program only for fun, use every language that you could
>>>like. But if you expect that "others" should observe your happiness, use
>>>Assembler. Only this language will give your game extra ply over others. It will
>>>naturally induce into your game some extra glamoring brillances able to capture
>>>the attention of human eyes. And since the human is a social animal that crave
>>>for attention, Assembler is the only natural language for him to express
>>>himself.
>>
>>Assembler won't yield an extra ply.
>>

Hmm, it should be possible to write a chass playing program in a higher language
like C in a way that is 6 to ten times slower than appropriate assembler code
including algorithmic changes.
If you for example write your chess program for a Cray-2 in Fortran your program
may be mutch slower than Cal (Cray assembler language), so an extra play is
possible.
However, if you use a current PC and a fast compiler and a decent source code,
you will get not much more than a speed up factor of 2, if you get anything by
using assembler.
Writing a chess program in assembler is pointless.
Kind regards
Bernhard
>>bruce
>
>If extra ply signify game that goes five or six time more rapidly, Assembler
>give you just this.
>
>Leonid.



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.