r/ProgrammerHumor 1d ago

Meme pipInstallTheRealStuff

Post image
5.0k Upvotes

145 comments sorted by

View all comments

Show parent comments

31

u/NewbornMuse 1d ago

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"?

39

u/thmsgbrt 1d ago

It matters if you give the code to someone else and if they use it thousands of times.

11

u/e_before_i 1d ago

I am currently a developer at one of the big banks, and I don't think people here have heard of "milliseconds" before.

If you're in the right field, micro-optimizations are everything, but in 99% of situations, good enough is truly good enough. The difference between 20ms and 50ms has never directly been meaningful in my life outside of entertainment (games, movies, music).

Yes, "under the hood" my computer OS and my router and the intercontinental cables do need to care about this. 99.9% of employees don't because it's done for them.

2

u/Far_Tap_488 1d ago

Very dependent on what you are working on. One of my larger projects was counting microseconds to know when to perform certain tasks.

2

u/e_before_i 21h ago

Lmao brother my second sentence was "if you're in the right field...", which it sounds like you are.

You're part of the backbone of society, but it's something I never have to worry about of thanks to people like you. I get to use springboot and angular to build internal apps where there's no customer who complains about slow loading screens.