Go ahead, write your 3D engine in Python. I dare you.
Anon hates C++
Submitted 1 week ago by Early_To_Risa@sh.itjust.works to greentext@sh.itjust.works
https://sh.itjust.works/pictrs/image/da459ab4-2892-4721-a2f4-08279f1b6c23.png
Comments
resipsaloquitur@lemmy.cafe 1 week ago
hoshikarakitaridia@lemmy.world 1 week ago
Never underestimate my self-loathing and my desire to write the most unusable piece of shit.
chicken@lemmy.dbzer0.com 1 week ago
How many games write their own 3D engine anymore
mycodesucks@lemmy.world 1 week ago
Not enough. It’s why they all need so many fucking resources and why you need to spend $1500 on a video card for a game that could run on a 15 year old GeForce if the developers put any effort into optimizing anything.
sp3ctr4l@lemmy.dbzer0.com 1 week ago
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 models use more python to interface with MCPs to write more slop extentions and games and other programs.
Its nearly literally an ouroboros.
fibojoly@sh.itjust.works 5 days ago
It’s funny that you think Python is anything else than a wrapper for real languages that get shit done.
criss_cross@lemmy.world 6 days ago
Screams in GIL
justlemmyin@lemmy.world 1 week ago
3D engine in LOLCODE or bust
Wirlocke@lemmy.blahaj.zone 6 days ago
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 trends of that time. 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.
fibojoly@sh.itjust.works 5 days ago
And every one of those tools can kill you.
xep@discuss.online 1 week ago
The point of C++ isn’t optimization, but rather that one only pays for what one uses. Experience in C++ leads to using the features of C++ that are appropriate and conscientiously eschewing the rest.
87Six@lemmy.zip 1 week ago
I understand C++ better than what C++ coders say online fr
Much love
LodeMike@lemmy.today 1 week ago
Unless you call an stdlib function and suddenly 10,000
callinstructions.
MonkderVierte@lemmy.zip 1 week ago
The point of C++ is C, but with extra footguns.
resipsaloquitur@lemmy.cafe 6 days ago
Try OO C and you see why C++ is the way it is.
Stroustrop’s first cut of C++ was called “C With Classes.”
thebestaquaman@lemmy.world 6 days ago
Foot
gunscannons
deathmetal27@lemmy.world 1 week ago
By that logic, if your English language essay gets an F it’s the English language’s fault?
eestileib@sh.itjust.works 6 days ago
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.
tetris11@feddit.uk 5 days ago
For the free beer?
eestileib@sh.itjust.works 5 days ago
Sounds like frats have moved on to ketamine, which is even more depressing to me somehow
BaraCoded@literature.cafe 6 days ago
Isn’t that the role of Rust?
Tattorack@lemmy.world 6 days ago
This feels like that XKCD comic.
“There are 14 competing standards…”
ILikeBoobies@lemmy.ca 6 days ago
Not really, the role of Rust is type/memory safety, you can still have unoptimized games. Also Rust is more complicated.
Verse, Scratch and GDScript are video game scripts.
perviouslyiner@lemmy.world 6 days ago
Would be a bit weird expecting all those C++ people to use a language that will be invented 27 years after the language they chose to learn?
cobalt32@lemmy.blahaj.zone 6 days ago
Yes
DupaCycki@lemmy.world 1 week ago
You’d be surprised how few game devs actually touch any code. It’s not just artists or designers. Even the ‘programmers’ increasingly rely on visual tools instead of coding.
Kolanaki@pawb.social 4 days ago
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.
lessthanluigi@lemmy.sdf.org 6 days ago
Anon is my C language programming college professor. He was also a linux evangelist, and got me to start daily driving/dualbooting linux.
Konaber@discuss.tchncs.de 6 days ago
Fuck C++. IMO the Microsoft Windows of the programming languages.
Dreamcatcher@lemmy.zip 6 days ago
this is why we should only use python :)
so great for programming, with no downsides. why hasn’t anyone thought of this before?
i’m a genius, i know.
chunes@lemmy.world 6 days ago
Has anyone ever invented actual good modern language yet?
Yes, it’s called Odin.
FavouriteShapes@sh.itjust.works 6 days ago
Still need to learn this one but I have no time on top of uni course. I guess I’ll pick it up next July
red_tomato@lemmy.world 1 week ago
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.
Eggymatrix@sh.itjust.works 1 week ago
That was the point 20 years ago. These days it is pivoting to compile time functional programming
Hadriscus@jlai.lu 1 week ago
What does that mean ?
iknewitwhenisawit@fedinsfw.app 1 week ago
C++ has a lot of terrible language features because it would allow some 8 bit embedded CPU to dynamically change from LSB to MSB ordering in the middle of decoding some input. 🙈
protogen420@lemmy.blahaj.zone 1 week ago
does anyone actually follow whatver the comittee sees as best practices?