Author: Tom Likens
Date: 14:57:01 11/18/02
Go up one level in this thread
On November 18, 2002 at 16:51:56, Scott Gasch wrote: >On November 17, 2002 at 19:30:47, Bob Durrett wrote: > >> >> >> >>If it takes one year to write and debug 25,000 lines of code, [in Rookie 2], >>then how much more in modern successful chess engines? I assume the GUI is not >>so bad. >> >>If the answer comes out to be 50,000 or 100,000 lines of code, then this may be >>a lifetime project? >> >>What am I missing? >> >>Just Xerox Crafty and rename it? [ A joke ] >> >>Bob D. > >A point of syntax to consider is: how do you define a "line of code". If you >consider a line of code is anything in a C or H file delimited by a newline then >monsoon is about 40,000 lines of code. But if you consider a line of code as >anything with a semicolon after it then it's more like 11,000 lines. Quite a >difference. > >I don't know if anyone would call monsoon modern or successful but the >statistics above are for the engine and parser alone -- no GUI code at all. >Another thing to bear in mind is: more lines of code != better engine. > >Scott I counted anything that was not a comment or empty line. Everything else got counted because I had to type it in so it "counts". I'm not sure if this is a generally accepted way to measure this metric, but it seems reasonable. regards, --tom
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.