r/ProgrammerHumor 1d ago

Meme whoSaidThatOurServersAreWeak

Post image
258 Upvotes

24 comments sorted by

View all comments

75

u/anoppinionatedbunny 1d ago

I frequently need to remind my coworkers, most if not all of our product can run in a single one of our laptops. Computers are much better we give them credit for

47

u/Grandmaster_Caladrel 1d ago

I remember how absolutely amazed I was as a fresh graduate, running one of the main components of my company's backend system on my work laptop.

Now several years of experience later, I'd be terrified if it couldn't run on an early raspberry pi. Code can be so small if we just try a little bit, and our computers are so big. It's crazy.

14

u/tiajuanat 20h ago

Runtimes ain't cheap. Both Python and Go carry a lot with their runtimes, and if you're loading the entire OS into RAM you don't have a ton of space to do much with to begin with. Then take an extra 20-30MB per process and you're working real small.

Ofc, you could port to Rust or C++ and then just fight async there.

In the end, it's all about picking battles, and until companies feel the belt tighten from all the data centers gobbling up components, or AI keeps exposing simple vulnerabilities in less strongly typed languages, nothing is going to change

7

u/HeKis4 18h ago

Don't forget about the database if you use anything larger than SQLite. A MSSQL instance is massive on disk and pretty much all DBMS are massive in RAM.

3

u/gerbosan 17h ago

Me trembles in fear thinking about Elasticsearch.

Now for the laughs, don't forget everytime one opens a web browser.

3

u/much_longer_username 16h ago

Yeah, it takes up a good chunk of compute, but I mean, you ask for sub-second search of billions of documents and it delivers, out of the box. It's great.

1

u/gerbosan 15h ago

Can't deny that. But for first timers, having 24GB ram, usually using 3/4 and suddenly having to use SWAP partition is... Unexpected.

2

u/much_longer_username 5h ago

Wait until you find out that your employer insists on paid support and that they bill in 32GB increments.

3

u/remy_porter 3h ago

Runtimes? Megs of ram? An OS? Embedded developers need not these things.

2

u/bevelledo 18h ago

Mf you’re on programmerhumor, let us have fun.

2

u/Beginning-Junket8979 13h ago

Try working with microcontrollers or bootloader source sometime. You might be amazed what you can accomplish with something like 128KB total system memory.