C++ ?
Will c++ do a good job or c is a must if you wanna make fast 3d engine?
i''m sorry for these kind of question but i just want to start with right steps..
C++ is simply a superset oc C. You can build and compile normal C programs just fine through a C++ compiler like Visual Studio, etc.
So it makes very little difference which you use. The only time performance is any different between C and C++ is if you use virtual functions. And even then, the Vtable dereference is so minor that you may lose a few nanoseconds... The profiler might notice, but not you.
The most popular answer on Gamedev.net: Go with what your comfortable with!
Oh well,
Landsknecht
So it makes very little difference which you use. The only time performance is any different between C and C++ is if you use virtual functions. And even then, the Vtable dereference is so minor that you may lose a few nanoseconds... The profiler might notice, but not you.
The most popular answer on Gamedev.net: Go with what your comfortable with!
Oh well,
Landsknecht
It doesn''t matter what language you use for the job. Don''t use language features that are slow in parts of your program that require speed. The largest factor on the speed of your engine will be your coding ability, and the way you prioritize optimization. Write legibally, use a profiler, and only optimize the most used areas of your program.
- Kevin "BaShildy" King
Game Programmer: DigiPen
www.mpogd.com
- Kevin "BaShildy" King
Game Programmer: DigiPen
www.mpogd.com
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement