Why c++ is not used for gaming purpose !!! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why c++ is not used for gaming purpose !!!

28th Mar 2018, 5:48 PM
Atul Sati
Atul Sati - avatar
6 Answers
+ 7
who tell you that?! it used in gaming development in a big role, check that: C++ give you finer grain of control over the actual hardware and bit pushing. For common business needs, a third generation language such as Java or C# is quicker to program and takes worries like pointers and garbage collection off the hands of the developer. This is at a cost of lack of ability to optimize and fine tune how memory and data structures are used. You can also take a hybrid approach of breaking the game into a higher level language for scripting etc and then "drop" into C++ land for parts that require the speed and optimizations.
28th Mar 2018, 6:46 PM
Baraa AB
Baraa AB - avatar
+ 3
What?!! C++ is one of the most widely used languages for game dev. I don’t know who told you otherwise, but they were wrong. C++ is amazing for game dev!
28th Mar 2018, 6:49 PM
Jax
Jax - avatar
+ 3
What are you talking about? C++ is used in Unreal Engine which is one of the most famous game engines.
28th Mar 2018, 6:49 PM
Chris
Chris - avatar
+ 1
because it is to big to write a program in c++ than other programming language
29th Mar 2018, 12:10 PM
Atul Sati
Atul Sati - avatar
+ 1
Yes, in C++ you need few more lines for many tasks than you need for example in Python. But that doesn't make C++ bad or unsuitable for gaming purposes. It is one of the fastest and most powerful programming languages out there.
29th Mar 2018, 3:35 PM
Chris
Chris - avatar
0
bcoz it's low level interface
28th Mar 2018, 6:34 PM
Yesh Jadav
Yesh Jadav - avatar