4 ms·
> C++ does not feel like the kind of beast that is destined to become the new COBOL. Strange conclusion. For me it looks like C++ has chosen to become exactly
by still_grokking 4y ago
> C++ does not feel like the kind of beast that is destined to become the new COBOL.
Strange conclusion.
For me it looks like C++ has chosen to become exactly this. The only reason it's still relevant is all the legacy code. Almost no new projects get started in C++. So it looks like they double down on that.
> Its continuing popularity in game development is just one of the areas that could see enormous growth and evolution.
I don't see this. Game dev is also moving.
The most popular engines may be written in C++, because there was no choice as this projects started. But the games made on those engines are mostly not written in C++.
Most code in games is "script like". And it's even often written in scripting languages. When not, it's something like C#, or some other more modern high level language.
- college_physics 4y ago> Strange conclusion I don't have a crystal ball but there are important differentiating factors: C++ is much more capable and it is relevant in more diverse domains whereas COBOL was very confined. > Game dev is also moving There are several new ECS projects implemented in C++ that have enthousiastic following. My hunch is that it is still up to the C++ world to lose it entrenched position by not doing the right changes but maybe that won't be the case in a few years from now.
- still_grokking 4y ago> There are several new ECS projects implemented in C++ that have enthousiastic following. Would you mind to share? I'm currently looking into game dev. Would be nice to have a better picture of the landscape.
- college_physics 4y agothere are several, following slightly different designs [0]. entt and flecs (mix C/C++) are currently the most visible [1]. older and more established engines are getting into the game as well [2]. its just a data point that C++ has constituencies that have not given up on it yet. [0] https://github.com/topics/ecs?l=c%2B%2B&o=desc&s=forks https://github.com/topics/ecs?l=c%2B%2B&o=desc&s=forks [1] https://github.com/SanderMertens/flecs https://github.com/SanderMertens/flecs [2] https://github.com/GodotECS https://github.com/GodotECS
- still_grokking 4y agoThanks for the links! But the two bigger projects don't contribute to the argument actually. This flecs (which looks very interesting on first sight!) is a C project with C++ API bindings on top as I see it. The other one is a Godot library (which I have to examine closer as I'm specifically looking into Godot). The collection of GitHub project looks mostly like engines. So not really games as such. (Also I'm not sure how recently those projects where started. There was no real alternative to C++ for game engines for a long time. So all older projects are likely C++. This does not prove the point that anybody would grab C++ today).