The whole point of C++ is to graft Object Oriented Programming into C like some Frankenstein’s monster because OOP was the big hype.
C++ being performant is mostly a side effect of it being based on a language created when programs were still punched into paper cards.
That was the point 20 years ago. These days it is pivoting to compile time functional programming
What does that mean ?
If you have a constant expression like
1 + 2in your code you can evaluate it at compile time once and avoid computing it at runtime. You can do that with control flow and much more complex language constructs in C++. If you want to know more about that look into C++ template meta programming, constexpr, and constval.Or don’t look into those things if you wish to remain sane
Templates are cool as fuck tho… For like 5 minutes until you go insane
I get that the designers wanted to have compile time static replacement but this was not the way to do it.
yeah, zig and rust have the same concepts but much better thought and structed
It’s easy to build a well-designed language when you don’t have to work around the mistakes of the past that were too difficult to solve then and too deeply entrenched to change now.
yes, thats why I dont bother finnishing projects
Translation: “We’ve made the preprocessor a first-class language feature!”
(jk, don’t kill me)
I love C++ as a god defying monument of backward compatibility. You can go through the versions like an archeologist looking through layers of rock to see what the trends of that time were. There’s not only one way to do the thing you want, but several, too many ways, and no one can stop you from frankensteining pieces together that were never meant to be.
If C is meant to be a basic toolbox, C++ is your dad’s disorganized tool cabinet he keeps in the garage. Overflowing with barely used, highly specific, and redundant tools.
And every one of those tools can kill you.
I like C++ but then again, I am just a modder so I have no idea what it’s actually bad at since it does everything I need and it’s easy. I’m not writing whole big programs that serve a huge company or anything. Hell, I ain’t even making entire games.
Can someone ELI5 what’s wrong with it?
It’s kind of sad that so many big studios have abandoned their proprietary engines to adopt unreal engine 5. What’s going to happen when Epic starts to turn the screws because they feel like they aren’t making enough money? All these big studios won’t have any staff left that knows how to build graphical engines. Honestly, at least it would make sense if they have up on their engines and started using Godot. At least they wouldn’t be bound to Epic’s bullshit.
At a conceptual level, it makes 100% sense that companies are moving away from bespoke engines and towards a standardized engine. This is something you see in many different industries. Spending a whole bunch of money and effort when 95% of your requirements are the same as everyone else is a bit silly.
However, you’re completely right that there’s the same danger as in other industries where the ‘boring software infrastructure’ gets standardized and outsourced: a niche monopoly able to exploit their position. What tends to happen in the long run is an open source project for that infrastructure run by an NGO with the industry members (in this case AAA game companies) on the board of directors.
Even disregarding the long-term problems, I fear for the days when every single game looks the same because their developers decide that UE5 knows best and that there’s no way photorealism gets in the way of artistic direction
… hell, even in stylized UE5 games, I don’t know how or why but I can feel the UE5ness
That’s why we always stan on studios like Remedy. They use their own engine, and pretty much everything they produce is stellar IMO.
I’d say the same for the RE Engine but unfortunately they have confirmed they want to turn it into an AI-Generation Engine, so that one is sunk.
Has anyone ever invented actual good modern language yet?
yes it’s called rust
The point of C++ is C, but with extra footguns.
Try OO C and you’ll see why C++ is the way it is.
Stroustrop’s first cut of C++ was called “C With Classes.”
I got paid good money to write C++ for several years.
It is a shit language, and people love it for the same reason that they love being in a fraternity with hazing rituals.
For the free beer?
By that logic, if your English language essay gets an F it’s the English language’s fault?
Given we’re talking about the English language, yes /jk
Hey! Native speaker here. If we:
-
reformed the spelling
-
stopped the locals from coming out with any deranged shite that they liked the sound of and made them follow some rules instead
…then it would be a perfectly usable language, thank you.
“Reform the spelling” how would you go about that?
“Refom de speling” hou wud ju go abaut dat?
(Croatian way - write what you hear)
Which means you’re putting non-rhotic accents first and you’d erase the “th” sound completely?
I am not sure but probably.
-
Go ahead, write your 3D engine in Python. I dare you.
You know the majority of LLM stacks are in python, right?
We already live in that world, basically.
Python LLM training produces models that are then refined into things that 3D engines plug into to do AI upscaling and framegen, and then different python trained LLM models use more python to interface with MCPs to write more slop extensions and frameworks in/for game engines, and other programs.
Still different python derived LLMs do image/facial/3d object recognition, get plugged into moar python, and then produce models… often for game engines.
Its nearly literally an ouroboros.
It’s funny that you think Python is anything else than a wrapper for real languages that get shit done.
You’d write the code in something else and then be like
import 3dengine 3dengine.run()Aah yes, the entire numerical python stack being carried on Fortran and C’s shoulders
The tutorials and walkthrough guides for all of that stuff are infuriating.
What do you mean I just import and run “unbelievably_specific_tool” and run it? How am I supposed to do anything other than process this example data with that?
Exactly, coming from Java it was such a big difference. Previously I could click on any class or method and view the implementation, with Python, suddenly everything was a convoluted jungle of methods popping into existence during runtime or being loaded from some opaque binary.











