r/ProgrammerHumor • • 8d ago

Meme pythonSlow

Post image
12k Upvotes

419 comments sorted by

View all comments

26

u/SeaTurtle1122 7d ago

If the speed of Python is, in any situation, your bottleneck, you’re doing something stupid. The large majority of all modern code is IO bound, not compute bound, and if you’re doing compute intensive work, pandas, scipi, tensorflow, google OR tools, and a number of other libraries exist to do it properly, and if none of those work, writing C code with a wrapper for Python isn’t hard. There’s boilerplate and considerations, but there are lots of tutorials and it isn’t mechanically difficult to do.

Python has issues, but if you’re complaining about Python and aren’t focused primarily on the awful state of Python package management, you don’t know enough about Python to make jokes about it.

1

u/Fillgoodguy 4d ago

I agree to an extent that most problems are IO bound nowadays, computers are incredibly fast. But you're missing that the majority of real code is "programmer" bound on performance.

The thing that makes MS teams like that has very little to do with compute VS io bound. Discord is built on the same tech stack and performs roughly the same work, but it's performance is a whole other category.

1

u/SeaTurtle1122 4d ago

None of that’s relevant to the conversation with Python

1

u/Fillgoodguy 4d ago

How so? I think the fact that python is even less likely to be the bottleneck due to additional slowdown factors would be pretty relevant to your original post?

1

u/SeaTurtle1122 4d ago

Because Python isn’t used for front end generally, programmer bound doesn’t mean anything, and both of the programs you’re talking about are JavaScript.

-4

u/DmitryAvenicci 6d ago

You must be so fun at parties.

2

u/Rubandevolta 5d ago

Yes indeed

0

u/Du_ds 5d ago

Probably brings the good drugs tbh