r/ProgrammerHumor • • 13d ago

Meme pythonSlow

Post image
12k Upvotes

415 comments sorted by

View all comments

Show parent comment

17

u/Worth-Wonder-7386 13d ago

Python is among the most used programming languages. It is not suited for everything, but that is true for all languages.

1

u/JollyJuniper1993 13d ago

People be like „how am i supposed to do Systems programming with python if it’s slow, that must mean it sucks“

1

u/Reasonable-Class3728 13d ago

Those people don't even imagine how much system tools are written in Python. It's literally one of the most popular languages for system programming.

I would say it replaced Perl on that niche. If 20 years ago you would choose Perl for you system tools, now you choose Python.

-1

u/anzu3278 13d ago

ITT: a language being used implies it's good

16

u/Fmeson 13d ago

If a language is widely used there is probably a reason for that. 

And yes, that applies to Javascript to. 

-9

u/anzu3278 13d ago

Baby's first programming language is widely used by people with baby levels of programming skill. Fork found in kitchen.

6

u/Fmeson 13d ago

Ah,  you're a troll

-4

u/anzu3278 13d ago

No mon I be fully human, by Zul I swear.

6

u/tragiktimes 13d ago

Dumbest thing ive read yet today. Nice.

3

u/Fmeson 13d ago

Then you can understand Python being simple to write is an advantage, not a weakness. 

1

u/Ok_Turnover_1235 13d ago

By that logic we should all still be using VB6 and it's a great language.

-1

u/Fmeson 13d ago

I said being simple is an advantage, not that it is the only thing that matters.

3

u/Ok_Turnover_1235 13d ago edited 13d ago

I pointed out in another thread, simplicity takes a lot of options away from you and actually makes a lot of things harder or worse. Runtime type checking has to happen on every operation, an integer isn't just a value, it's a full object with reference counts, metadata, etc. Static analysis isn't possible, the list goes on. Cache alignment can't be done a per platform basis, and has to be done by padding data structures manually which means it fails or doesn't work properly on a platform with a smaller or larger cache.

It's an advantage if you're optimising for development time and not quality (of any kind, whether that's performance or memory usage or whatever). It's syntax isn't actually any better than C++ or rust in a lot of cases, and doing OOP in it just awful.

→ More replies

1

u/user_of_the_week 13d ago

I just prefer something more modern, like Java

2

u/adeptus_chronus 13d ago

nah, you need one of the OG old languages that that has extensive resources behind it, like Java.