Author: Frank Karger
Date: 12:24:19 02/16/04
Go up one level in this thread
Hi Robert, some time ago I was looking around to find out if the language I have chosen in the past (C/C++) was a good choice. Unfortunately I found out that this is not the case. If you compare languages by speed, C is normally the best (leaving Assembler out). But how much is it better ? If you look here http://www.bagley.org/~doug/shootout/craps.shtml (a big Computer language Comparison) You can see that the difference in mere speed is very small. On the other hand development time is a strong argument. For example if you want to write the best chess program in the world you mainly have to try many ideas and - if you are lucky - your ideas will form the best program. Some studies show that development time in languages like Lisp is about half than in C, Java or C++. e.g. http://www.algo.be/cl/TEE-lisp/31837187622993390/index.htm So, we have about 5% loss in speed (perhaps even less if you look at the Ocaml-Compiler) but 100% gain in productivity. Lets say, you are working about 10 years improving crafty. Do you really think that if you could have done the work for 20 years in that time that 5% speed are a strong argument ? Frank
This page took 0.01 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.