Jump to content
  • Advertisement
Sign in to follow this  
Adyrhan

Will it be C++ the preferred game dev language in 3 years from now?

This topic is 2130 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement

C++ is said as decaying for long long years (I heard it the first time around 10 years ago), but it still hasn't lost its strength. If you want to target the big gaming platforms, C++ is the way to go.

I would certainly tell anyone that wants to get employed in game development to learn C++; as well to those who want to get into PS4 and Xbox One indie wagon.

It's powerful and cross-platform. From the languages I use, it is no doubt the one I deem as the best choice for most of my projects.

 

Still, I would also advise them to learn Java, javascript and possibly a scripting language such as Lua. If the processors start to evolve in a really fast way (faster than now) scripting languages can even turn into the most used technology. But that won't happen in 3 years; I bet.

 

It is a common problem: people consider that using C++ will make your design side worse due to the time you spend on programming. Well, I don't agree with this. I think I can make the same game with C++ I could do with Lua, maybe not on the same time-stamp, but, given the "fun and simple" design concept behind this belief, it usually doesn't take that longer.

 

Disclaimer:

You've reached a sensitive topic. Most things people say on "language wars" are personal opinions, sometimes unfounded; my commentary included. Of course we do genuinely believe what we're saying, but you have to filter what to believe. For instance, I've plans of programming for mobile at some point, but have never done it. On the contrary, the author of your linked site clearly likes mobile development... and probably got frustrated on trying to learn and use C++ at some point.

Edited by dejaime

Share this post


Link to post
Share on other sites

people consider that using C++ will make your design side worse due to the time you spend on programming

 

I don't think that's quite the argument that is typically being made. To a good engineer C++/Java/C# are all pretty much equivalent, and the time taken to accomplish a given task will vary mostly with the available APIs (an area where C++ has an edge when it comes to game development - less so in other fields).

 

The problem is with inexperience - C++ comes attached to significantly more complexity than it's newer bretheren, and until you are extremely familiar with both the language and the engineering practices it makes necessary, your productivity is unlikely to be as high as a similarly experienced Java programmer.

Share this post


Link to post
Share on other sites

 I don't think C++ is going anywhere any time soon.  There is no practical replacement for it.  Also the C++ committee has recently become very active; C++11 was a large improvement, making C++ feel almost modern, and C++14/17 will be out soon enough. 

 

 Which language you should learn for game development depends entirely on what type of games you wish to make. If you don't mind being stuck in Unity land, C# it is.  

 

You say you want to "become serious in game dev". Serious to me means knowing C++.

 

 Languages like C#/Java/Javascript/Python are fairly brain dead and don't require much effort to learn, so learning them once you know C++ isn't difficult.

 

Alternatively Languages like Haskell/Lisp are a tad bit more interesting, and I think an understanding of functional programming will get you farther than just tacking on junk language X.

Share this post


Link to post
Share on other sites
I'm a little confused why people would assume C++ would ever go anywhere unless some language takes hold that does what C++ does, but better.

Frankly, although I'm a huge advocate of languages like C# and they're -always- more fun to work with, the fact is that for fast, no hands holding code C++ doesn't have much competition. Realistically most companies have used C++ for a long time, they have code for it, their programmers are trained in it, and for gameplay scripting or anything of the sort that doesn't cause catastrophe if it loses any speed, C++ is already being defeated.

No real way around the fact it's here to stay unless something better comes along, even if computers get more powerful, AAA companies always strive to be like Hollywood, bigger and badder, so that kind of requires sticking with C++ for the time being.

Share this post


Link to post
Share on other sites

 

 

No real way around the fact it's here to stay unless something better comes along, even if computers get more powerful, AAA companies always strive to be like Hollywood, bigger and badder, so that kind of requires sticking with C++ for the time being. 

 

 

With so much being offloaded to the GPU and if physics cards ever take off, and with the CPU speeds, the question has to be asked, "is C++ really needed for anything else?" AAA companies also have budgets and timelines and I have to think at some point the hardware will be specialized and fast enough to where engines can be written without C++. If gameplay is the only thing remaining then managed languages/scripting is far easier and cheaper and more flexible than C++.

 

What ever happened to physics cards btw? They were all the talk a couple years ago but they don't seem to be taking off.

Share this post


Link to post
Share on other sites
I think C++ will stay where it is but its popularity won't improve. It will probably just remain... stable.

rpiller said, "What ever happened to physics cards btw? They were all the talk a couple years ago but they don't seem to be taking off."

My response: NVidia, a graphics card company, bought out PhysX, I think for their software. Then they now have GPU-accelerated physics or PhysX. I think the idea of physics cards is pretty much over now.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!