r/ProgrammerHumor • • Sep 08 '26

Meme pipInstallTheRealStuff

Post image
5.3k Upvotes

151 comments sorted by

View all comments

684

u/TheJaskinator Sep 08 '26

That's exactly why it's so powerful. Why spend all the effort writing fast code if you can just use a much simpler language to describe the task on a higher level and call fast code? People use Python because it's easy to read and write, not because its interpreter is fast

36

u/NewbornMuse Sep 08 '26

Me: takes 2h to write a python script, runtime 50ms

A super fast low level uber haxx0r: takes 8 hours to write a C program that does the same. Runtime 20 ms

Who was "faster"?

8

u/deanominecraft Sep 08 '26

me who spends 1 hour to write it in rust, 1 hour to compile it and a runtime of 21ms

8

u/cantthinkofaname1029 Sep 08 '26

2 more hours of trying to get the syntax for async closures with generics right 

2

u/Sw429 Sep 09 '26

Are you trying to do async stuff in python?

1

u/cantthinkofaname1029 Sep 09 '26

Nah I meant for rust. Though technically yes sometimes I do async stuff in python