C++ ?

Started by
1 comment, last by nbulic 22 years, 1 month ago
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..
Advertisement
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
My sig used to be, "God was my co-pilot but we crashed in the mountains and I had to eat him..."
But folks whinned and I had to change it.
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" KingGame Programmer: DigiPenwww.mpogd.com

This topic is closed to new replies.

Advertisement