Author: Peter Fendrich
Date: 14:27:55 12/25/02
Go up one level in this thread
On December 24, 2002 at 05:22:52, David Rasmussen wrote: >On December 23, 2002 at 21:29:08, Arshad F. Syed wrote: > >>Is there anyone here who has actually converted their C code to C++ while >>keeping the NPS the same or even managed to improve upon it? Sune did mention >>that he did so only at the cost of 15% degradation in speed. Why do people even >>bother wasting their time with C++ for a chess program when it inevitably leads >>to taking a hit in NPS? Regardless, of all the advice to simply inline the >>functions, I have yet to see a living example of chess program code which >>performed faster in C++. >> > >C++ used as a better C isn't slower at all. >C++ used to make a better design won't hurt NPS if you do it right. >C++ using templates (maybe expression templates for evaluation etc.) can easily >be faster than C. What's so good with templates, regarding performance? /Peter > >All of your myths are C++ myths rooted in compilers 10+ years old. > >/David
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.