Go ahead, write your 3D engine in Python. I dare you.
Anon hates C++
Submitted 1 month 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 month ago
hoshikarakitaridia@lemmy.world 1 month ago
Never underestimate my self-loathing and my desire to write the most unusable piece of shit.
chicken@lemmy.dbzer0.com 1 month ago
How many games write their own 3D engine anymore
mycodesucks@lemmy.world 1 month 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.
gera@feddit.nu 3 weeks ago
I wanted to write software renderer in turtle as a joke sometime ago but I only did a spinning cube
sp3ctr4l@lemmy.dbzer0.com 1 month 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 1 month ago
It’s funny that you think Python is anything else than a wrapper for real languages that get shit done.
justlemmyin@lemmy.world 1 month ago
3D engine in LOLCODE or bust
criss_cross@lemmy.world 1 month ago
Screams in GIL
xep@discuss.online 1 month 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 month ago
I understand C++ better than what C++ coders say online fr
Much love
LodeMike@lemmy.today 1 month ago
Unless you call an stdlib function and suddenly 10,000
callinstructions.
Wirlocke@lemmy.blahaj.zone 1 month 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 1 month ago
And every one of those tools can kill you.
MonkderVierte@lemmy.zip 1 month ago
The point of C++ is C, but with extra footguns.
resipsaloquitur@lemmy.cafe 1 month 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 1 month ago
Foot
gunscannons
deathmetal27@lemmy.world 1 month ago
By that logic, if your English language essay gets an F it’s the English language’s fault?
eestileib@sh.itjust.works 1 month 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 1 month ago
For the free beer?
eestileib@sh.itjust.works 1 month ago
Sounds like frats have moved on to ketamine, which is even more depressing to me somehow
BaraCoded@literature.cafe 1 month ago
Isn’t that the role of Rust?
Tattorack@lemmy.world 1 month ago
This feels like that XKCD comic.
“There are 14 competing standards…”
ILikeBoobies@lemmy.ca 1 month 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 1 month 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 1 month ago
Yes
DupaCycki@lemmy.world 1 month 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.
lessthanluigi@lemmy.sdf.org 1 month 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 1 month ago
Fuck C++. IMO the Microsoft Windows of the programming languages.
Dreamcatcher@lemmy.zip 1 month 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 1 month ago
Has anyone ever invented actual good modern language yet?
Yes, it’s called Odin.
Kolanaki@pawb.social 1 month 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.
AVincentInSpace@pawb.social 5 weeks ago
Has anyone ever invented actual good modern language yet?
yes it’s called rust
FavouriteShapes@sh.itjust.works 1 month 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 month 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 month ago
That was the point 20 years ago. These days it is pivoting to compile time functional programming
Hadriscus@jlai.lu 1 month ago
What does that mean ?
iknewitwhenisawit@fedinsfw.app 1 month 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 month ago
does anyone actually follow whatver the comittee sees as best practices?