Computer Chess Club Archives


Search

Terms

Messages

Subject: Slightly off topic.

Author: Dan Andersson

Date: 15:17:23 07/02/99

Go up one level in this thread


The speed issue is a factor only if your program is strictly OO. The usual
method of member function calls (Methods) in C++ tend to be VTables and those
incur a bad performance hit especially on the x86 architecture. If your program
only uses objects to encapsulate data and some functionality but otherwise is
imperative (non Object oriented, ie C with streams et al) the performance hit is
neglible. IMO, if the idea is to make an object-oriented programming effort,
either ignore the performance hit or consider switching to SmallEiffel (an ADT
object-oriented language) or something similar that actually encourages
object-oriented design.

Regards Dan



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.