Why are the majority of games, PC and Console written in C++?
NEEDS WORK • See the article Why C++ Because C and C++ (and a lot of other languages which don’t use a virtual machine or interpreter) are compiled to native code (assembler) which runs directly on the computer hardware. This means that there’s no virtual machine on top of the hardware which runs the intermediate code (‘assembler’ for the virtual machine. This is the bytecode in java and IL in .NET). Platforms with a virtual machine (e.g. Java and .NET) use a JIT compiler which compiles the byte code / IL at runtime into assembler for running it on the hardware. This process takes some processor cycles away but at the same time it can make clever decisions at runtime how to optimize the code. In theory, this process could be as fast or faster than the assembler resulting from compiling C/C++ code. In practice it’s not (yet) the case. This thus means that practically, one could better use a language which a) gives an abstraction above assembler (thus C, C++ ) and b) compiles directly to