Author: Dave Gomboc
Date: 23:24:04 11/29/99
Go up one level in this thread
On November 29, 1999 at 21:06:22, Dann Corbit wrote: >Because operating systems are transient vapors [anybody here using a 15 year old >version of an operating system?], why not keep the core of your engine ANSI C or >C++? Then, any OS specific parts like GUI or system services can be kept in >separate translation units and use a specified interface. In that way, any >rewrite you have to do will be fairly trivial. >For instance, consider Crafty. There is basically very little OS specific code >in the crafty engine. Those bits that must be contained there are surrounded by >#ifdefs. The engine is a separate system, which is also written in a fairly >portable manner (as evidenced by the simple switch from x-windows to Win32). So >by following techniques like those demonstrated by Tim Mann and Robery Hyatt, >you can write a chess program and/or OS specific parts in a way that remains >portable and flexible. I don't usually hear Crafty mentioned when a Mac user asks what programs are available. I remember that Lloyd Lim added in Mac support to a few versions of Crafty. Is Mac support built-in at this point? Dave
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.