Author: Nicolas Carrasco
Date: 19:44:29 11/01/99
Go up one level in this thread
GOOD question! On November 01, 1999 at 21:32:56, leonid wrote: >On November 01, 1999 at 21:17:07, Robert Hyatt wrote: > >>On November 01, 1999 at 19:50:12, leonid wrote: >> >>> >>>Hi! >>>I have the Crafty game in my Hiarcs 7.32 package. When I plyed with Crafty I was >>>impressed and puzzled. Impressed with the game that I found quick and good but >>>doubtful about the central part of the game. In what language it was really >>>written? Core part in Assembler, or 100% on C? >>> >>>Just can't retain me to not mention what really puzzled me in the game. It was >>>one idea that never went away. Why to write so good game in so slow language? To >>>use the C in this case is like to do the premeditated suicide. Like willingly >>>leaving your first place to somebody else. But maybe I rush to the conclusion. >>> >>>Leonid. >> >> >>C isn't slow... it is perhaps the fastest 'compiled' language in use. Crafty >>is 100% C, but for the X86 architecture it has a few of the 'bit-operations" >>hand-coded in assembly language for speed... >> >>To write in assembly is not a good plan. Yes it is faster. But what about >>portability to other platforms? there is _zero_ when the program is written >>in assembly. > >Writing in C is OK but why not write just one version on Assembler for going to >international competition?
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.