Topic: Debugging and speed of C++
Author: lt1g+@andrew.cmu.edu (Luke David Tuttle)
Date: 19 Sep 91 22:35:16 GMT Raw View
I have had a fair amount of experience in SCHEME, a derivative of lisp,
and therefor have a pretty good understanding of object oriented code.
As part of a graphics class I need to write an interactive graphics program,
I have implemented the first part in straight C, but I realize that it
would be much more efficent to code in C++, as to the niceness of
using objects in a graphics interface.
I am worried about two issues though, the program will be quite long,
supporting
2D and 3D animation, so there will be a question of how easy it is to debug
the code that C++ produces. Also, is there any tradeoff in the speed of
accessing lists of objects, as opposed to accesing the structures in an
array in straight C.
Finally, even though I have an extensive background in C and object oriented
code, what kind of learning curve should I expect learning C++.
Luke Tuttle
Carnegie Mellon
lt1g@andrew.cmu.edu