DEV Community

[Comment from a deleted post]
Collapse
 
codemouse92 profile image
Jason C. McDonald • Edited

My rebuttal to the "C++ is from a bygone era" statement aside, I would say...

Nothing lasts forever.

We used to write games in various flavors of Assembly, in BASIC, COBOL, and (later) C. Now we develop many games in C++. Like I said in the other comment, I doubt C++ will ever be fully disestablished from the game industry, but it is by no means the only player in town. As other compiled languages prove themselves to be stable, performant, and reliable, they'll take their place in the mix.

For example, C# is increasingly popular in game development. Compiled languages aside, Javascript (as much as it pains me to say) has a firm role in web-based gaming, supplanting the late "great" Flash platform, and Python is popular for simpler games.

C++ seems to hold its ground mainly in regards to game engine development, because it offers superb access to hardware, drivers, and memory, and the system overall. We need that sort of "bare metal" access to write performant game engines, and any language lacking the tools for twiddling memory directly has little chance of gaining ground here. Those that do offer those features in a cross-platform fashion automatically have to play catch up, since C++ has a 30+ year head start, and is continuously improved as a language and a platform (libraries and such).

But can it happen? You bet! I'd actually be surprised if we're having this conversation in 20 years. C++ won't always be ubiquitous, but I reckon it will always be present.

Besides that, look at the present situation with COBOL in the financial sector, and FORTRAN in the scientific sector: you will almost certainly need working proficiency to get far in either field, simply because all your stable, proven patterns and algorithms are in those languages. Thus, I'd also wager that you will "always" need a working knowledge of C++ in game development, even if the company you work for doesn't use it at all. Lacking it would be like being an archaeologist in Egypt with absolutely no knowledge of hieroglyphics.