How long until c++ disapear from game development

Started by
43 comments, last by Washu 12 years, 7 months ago
As an informatics engineer i do realize that managed language are the future. I think that C++ and company will be a thing from the past in a few years, how many I dont know
Advertisement
As a game engine programmer, most of the work I do is primarily concerned with the layout of data in RAM. Seeing as the RAM latency problem is only getting worse, and managed languages generally avoid giving you control over your RAM layouts, then it's C++ for the foreseeable future.

As a game (gameplay) programmer, C++ should already be dead. Managed/scripting languages have largely replaced C++ here already.
Where I think that managed languages will be the feature for many of the applications written, I don't think it will be for game programming. Raw performance, control over memory allocation/deallocation, multi-platform development without needing an intermediate language/framework will keep native languages in this business, I think. I do think there wil be a large space for managed languages in tool development, or as a replacement for various scripting languages.
Not gonna happen anytime soon but it's difficult to even guess if it may ever happen. Managed languages are cool for certain, but they were primarily designed to solve a different class of programming problem. Sure they can be used for games, and quite well too, but they still bring their own overheads (e.g. in startup times, JITting code causing unpredictable latency, unpredictable garbage collection times causing unpreditable hitches and stalls, the dreaded boxing and unboxing, limitations of running in a sandbox, etc etc etc yadda yadda yadda). None of these are unsolvable, but the current generation is just not there yet.

Aside from that there is just a huge legacy codebase in C or C++, with being able to link with C remaining a primary standard for libraries. That'll take a good deal of time and effort to deal with, and that would be time and effort that many will see as being better invested in creating something cool and new.

Direct3D has need of instancing, but we do not. We have plenty of glVertexAttrib calls.

The lifecycle of consoles is too long to expect that it will disappear anytime soon.
Never is a stupid answer, that means that in a million years time people will still be using c++. I cant believe that most people chose that option. I chose 20, but I think it will actually take a lot longer than that. As yet, no language *with similar semantics* (please don't start telling me that java and C# are going to replace c++, you've been telling me that for 10 years) has yet been developed. When it is, c++ will be replaced.
Don't thank me, thank the moon's gravitation pull! Post in My Journal and help me to not procrastinate!
I think that C++ and company will be a thing from the past in a few years, how many I dont know[/quote]

Let me put things into perspective here.

No software today can be written without using C or C++. Web development likes to hype how they are managed - using databases written in C/C++, running on OSes written in C/C++, using servers written in C/C++ and languages written in C/C++ accessed by browsers written in C/C++.

Not one of those has so far been replicated to satisfactory level in managed language.


So yes, just like artists can use Photoshop without knowing anything about programming, so will C and C++ diminish. But today, in 2011, managed languages are incapable of providing even the rudimentary facilities needed to provide even the most basic real world solutions.

As an informatics engineer i do realize that managed language are the future.[/quote]
No, they are the past. First computer languages were "managed" and running on virtual machines.

The reason unmanaged languages appeared is because of horrible impedance mismatch between the way hardware works and the way programmers are forced to think. This mismatch, especially in informatics sector is due to race to bottom.
I bet C++ will live for while yet (for reasons already mentioned).

However, in 20 years, it would not surprise me if computers just program themselves, and leave the more human type stuff for us (like art & design). :)

I think that C++ and company will be a thing from the past in a few years, how many I dont know


Let me put things into perspective here.

No software today can be written without using C or C++. Web development likes to hype how they are managed - using databases written in C/C++, running on OSes written in C/C++, using servers written in C/C++ and languages written in C/C++ accessed by browsers written in C/C++.

Not one of those has so far been replicated to satisfactory level in managed language.


So yes, just like artists can use Photoshop without knowing anything about programming, so will C and C++ diminish. But today, in 2011, managed languages are incapable of providing even the rudimentary facilities needed to provide even the most basic real world solutions.

As an informatics engineer i do realize that managed language are the future.[/quote]
No, they are the past. First computer languages were "managed" and running on virtual machines.

The reason unmanaged languages appeared is because of horrible impedance mismatch between the way hardware works and the way programmers are forced to think. This mismatch, especially in informatics sector is due to race to bottom.
[/quote]

remember c++ code is translated to asm code I bet that in 20 years PCs will have frameworks installed on the hardware (like DX) and then c++ will die. Programming is evolving in the way that, no matter how is done, software has to be written in the way you think, take a look at python
Voted 20, which is a massive underestimate but to say "never" is absurd, because it means after the heat death of the universe Lovecraftian horrors will be programming in C++.

"It's like naming him Asskicker Monstertrucktits O'Ninja" -Khaiy

This topic is closed to new replies.

Advertisement