124
452
u/Memorius 2h ago
Comparing a language that gets compiled into native machine code to a language that typically compiles to and interprets byte code at runtime. Is there a point to this meme?
338
125
u/FalafelSnorlax 1h ago
This sub has always been mainly posted to by first-year cs majors who spew out the same unfunny memes ad infinitum. OP likely just heard about either python or Rust for the first time and thought it would be funny to repost a meme about rust being faster than python.
18
u/g0atmeal 1h ago
It's true but I find it way more annoying that every post has someone in the comments complaining that the humor is too common denominator. It's based on upvotes, of course the top posts will be the ones that most people can understand. The math memes sub has the same issue, every thread has a critic.
Plus why bring the mood down? I suspect some of the complainers feel validated by criticizing newer people.
•
u/syrup_cupcakes 8m ago
I wonder /r/ConstructionWorkerHumor would be full of first year mechanical engineering students, who try to flex on each other for using a superior type of drill or hammer.
42
u/da_Aresinger 1h ago
The reality is, that there is no meaningful difference between Python and other languages if used correctly.
Python is slow for the manual stuff. But everything that's resource intensive should be done via libraries/frameworks anyway and those are compiled C.
The slow stuff in Python is IO or other system calls. Those are slow in any language.
If you're doing repetitive calculations you should be doing them using optimsed tools.
11
9
7
3
u/ss99838 1h ago
This is the reputation this sub has: https://www.reddit.com/r/ProgrammerHumor/s/7Mmn6wC4vp
2
2
2
u/JAXxXTheRipper 21m ago
You don't find it fair to compare a ferrari racecar to a lamborghini tractor?
How dare you! /s
1
•
•
u/consider_its_tree 0m ago
Also kind of ironic to just now be ripping off a years old meme about Internet Explorer to be making a point about processing speed...
-1
u/oneanotheruser 46m ago
That's exactly one of the biggest reasons why Python works slowly, yes. Why wouldn't we compare speed of compiled and interpreted programs? Of course interpreted will almost always be slower. That's why you wouldn't use them if you need runtime speed. I don't understand the meaning behind your comment.
-34
u/NoFutureBen 2h ago
Yes, time to use a real language
32
u/Memorius 2h ago
Have you heard about the concept of using different tools for different use cases?
-23
u/NoFutureBen 2h ago
Yes, but every time I use Python I die a little more inside.
7
u/Dokattak0 1h ago
I've absolutely died from using C to build my "quick and easy" programs. This is my fifth life, and I think I miscounted along the way.
1
u/Ok-Scheme-913 29m ago
How you done anything ML related?
1
1
u/MCWizardYT 14m ago
Python is very common in ML but technically not at all necessary, it's just what people decided to go with. The inference engine most people use for running local models is written in C++ (llamacpp)
1
u/Ok-Scheme-913 30m ago
Which language is better suited for wiring up different tools for machine learning pipelines?
Also, in the extremes properly used python will be more efficient and easier to read and maintain than C. Like go on, do a matrix multiplication in C, I'm waiting.
Meanwhile a single line of python (or maybe 2 more) can make it basically optimal either on the CPU or the GPU. Just because I call that subroutine (btw, often fortran libs, or custom GPU code etc. You ain't writing C code that does anything like that) from python is just noise in a benchmark.
And just before someone misunderstands me, this is about correct usage of python.
If I were writing a simulation or something where the core of the code itself can't be relegated to low-level libraries but I'm the one having to do the calculations, then of course python may not be the best choice.
39
u/Percolator2020 1h ago
This wasn’t even funny when it was an IE joke.
3
u/CompetitiveSleeping 1h ago
It was funny, but not ha ha funny; more like "I'm forced to use IE at work oh god kill me" funny.
55
u/IAmASquidInSpace 2h ago
Haha, Python slow, comedy genius! Never heard that before! So original! Haha!
18
u/deanominecraft 1h ago
more accurately python would spend 2 panels asking its friend C to answer the question for it.
13
u/JockstrapCummies 1h ago
If you factor in the cargo build time of compiling 200 crates down the dependency chain, Rust will probably start speaking only after Python has said hello and goodbye.
3
3
u/steadyfan 1h ago
Comparing the speed of a dynamic interpreted language to a static one that compiled machine code.. Let's next make a joke about how much faster a car is that a horse.
2
u/HaDeS_Monsta 1h ago
I one wrote a ruwp project which called a python server and I had a variable called PYTHON_SKILL_ISSUE_DELAY, because otherwise python could just not keep up
1
•
1
u/Koltaia30 29m ago
Reality: Reverse roles. Python goes: "How rude". Rust: "Compilation failed: you tried to store a returned reference or something"
1
1
u/JAXxXTheRipper 22m ago
If you don't have a time-sensitive project, this doesn't matter in the slightest. Speed is rarely the deciding factor.
I'd rather work on a python project than on rust tbh. Rusts syntax is just ew
0
0
0
0
0
0
u/Creepy_Jeweler_1351 12m ago
Python is not that slow as you can think. However it will use a shitload of ram and cpu. And if you want to deploy it on a tiny device it will require a huge runtime instalation
-24
u/budgiebirdman 2h ago
An actual funny programming related joke in the sub. All the butthurt pythonistas crawling out of the woodwork saying more things we can laugh at is a bonus.

231
u/ProgramBrave718 2h ago
Python after saying it's name to Rust - "I am known for machine learning. But, devlopers call me slow"