Re:Ask HN: Why most of the Game Engines were written in C/C++?
by ergest on Wednesday December 26, 2012 @12:56PM
(#4970124)
Uhm performance?
[ Parent
| on HN ]
Re:Ask HN: Why most of the Game Engines were written in C/C++?
by pizza on Thursday December 27, 2012 @02:34AM
(#4972707)
Could you be a little more specific? What makes C++ faster than, say, Visual Basic 6? Just curious.
Re:Ask HN: Why most of the Game Engines were written in C/C++?
by ergest on Thursday December 27, 2012 @10:01AM
(#4973493)
C is designed and optimized to be very close to the hardware, in fact it's called high-level assembler. You can access specific hardware features directly. C++ is the OO version of C (yes I know this is an oversimplification). Other languages, like for example Java creates a logical layer (known as the java virtual machine or JVM) which adds more complexity and makes it harder to tweak your code to fit the particular hardware.