Author: Dann Corbit
Date: 15:29:15 06/03/04
Go up one level in this thread
On June 03, 2004 at 10:38:27, Gopikrishna wrote: >Well in Tscp the code for protocoling the engine with winboard was very simple >but in Gerbil why it has so much code? I mean under winboard.c file. Thanks. Gerbil is easy to understand for a Windows programmer. It has extensive use of callback functions. If you ever wrote a Windows program, you would understand it instantly. If you never wrote a Windows program, then lookup "callback" or get a copy of a Charles Petzold book from your local library and read it, if you would like to learn that programming metaphor. It is an interesting way to write a state machine, and doing things asynchronously is very simple under that model. It is a good technique to know and understand whether or not you ever intent to program any Windows type applications.
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.