Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Is this possible?

Author: Severi Salminen

Date: 23:44:17 09/24/02

Go up one level in this thread


>I am planning to write my own engine soon. Preferably I would like to code the
>search engine in Assembly Language since nodes/sec is a very important factor
>for me. Is it easy to interface Winboard with Assembly language code?

High speed is very important factor for everyone ;) I was in your situation two
years ago and I actually wrote fully functional chess game totally in assembler.
Well, it play lousy chess, it doesn't support WinBoard, it actually supports
only console mode, the code is impossible to maintain, to debug, and to develope
new features. So I would not suggest you to use plain assembler for the engine.
And unless you know the new optimizing tricks _very_ good, the compilers might
generate even faster code then you. And when a new processor comes out...

So, in my opinion (and according to my experience) you should write the engine
in C and then write only critical parts in assembler. That way you can easily
alter and modify things in your engine without have to allways rewrite thousands
of rows of assembly.

Sever



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.