r/programmingcirclejerk • u/camelCaseIsWebScale Just spin up O(n²) servers • Sep 11 '26
Unfortunately, when a program uses the GPU for acceleration it's considered clever, but when it uses the RAM chip for accelaration it's considered bloated.
https://news.ycombinator.com/item?id=47901033
245
Upvotes
181
u/Chisignal Sep 11 '26
Where jerk? The hysteria about RAM usage is exactly just that, I WANT my RAM to be used if it can speed my work up. I WANT my note taking app to eat 1.5G of RAM because it contains 7 layers of sandboxing, a VR engine and a Bluetooth stack, ready at all times.
111
u/james_pic accidentally quadratic Sep 11 '26
Every GB of RAM I'm using to run bloated Electron apps written by webshits who think React is a good idea, is a GB of RAM Sam Altman can't get his hands on.
87
u/nerdycatgamer Considered Harmful Sep 11 '26
Accelerating my program by making it an Electron app that also has to run int a container oh and also i just fetch the entire database once at startup and keep it in memory so i don't need to make any more network requests.
36
u/stone_henge Tiny little god in a tiny little world Sep 11 '26
Good ancestral jerking:
I concur. My experience is much much better now that instead of reading MDN I can use 3000 libraries with names that look like unidentified NetHack scrolls, each of which can run arbitrary commands on my PC upon installation and half of which are documented in the form of tutorials and trivial examples. That alone truly makes using 16 GB ram to copy streamed data from one source to another worth it, but that's just the beginning. Don't even get me started on the absolute joy and hopeful outlook logging into the Azure Portal gives me.
28
u/narrow-adventure Sep 11 '26
Where is the jerk?
13
u/Potterrrrrrrr Sep 11 '26
when I use a GPU for acceleration it’s anything but clever
6
u/OSS-Corpo-Shit Sep 12 '26
My work laptop has 16 gigs of ram and is swapping with teams. Outlook, 2 chrome tabs, and DataGrip running.
And they’re all slow as piss anyway even if I close one to reclaim. Where’s my performance benefit?!
5
u/Anonymous_user_2022 Sep 11 '26
/uj Depending on usage patterns, gobbling up all memory is the best strategy. Things like Varnish is pretty successful by not speculating about memory, but rather off-loading that to the OS virtual memory strategy.
/rj Using 3 GB to run a VM inside electron for a Hello World app, might be a bit excessive.
5
u/RandallOfLegend Sep 11 '26
I have 128 GB of RAM. Use it please. It even lights up with rainbows. All are welcome.
4
u/aikii gofmt urself Sep 12 '26
Thanks Altman for letting me ask to a GPU what's going on in this giant post
1
u/androgynyjoe Sep 11 '26
Well, they're not wrong.
1
u/Single-Virus4935 Sep 11 '26
RAM is always used either for applications or as disk cache.
32
u/Thompson3142 The plebians were a class of Roman citizen, not engineers Sep 11 '26
If you like this jerk and want to be an informed jerker, you may consider a full jerking session from him on this topic. It's on the java YouTube channel: https://www.youtube.com/watch?v=xr73mR7ii9M
-1
u/[deleted] Sep 11 '26
[removed] — view removed comment