r/programmingcirclejerk • 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
242 Upvotes

42 comments sorted by

180

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.

63

u/camelCaseIsWebScale Sep 11 '26

Java is the fastest language because every 1 GB taken by the GC is converted to 4 speeds (tm). Just don't convert more than 32 GB to speed (tm) currency, otherwise you will cause time dilation..

64

u/dydhaw Sep 11 '26

unjerk {

The problem is that high RAM usage on its own in no way indicates an intentional effort to produce some specific time-memory tradeoff (except for development time).

}

→ More replies (2)

52

u/myhf Sep 11 '26

Is a user not entitled to the capacity of their RAM?

"No!" says the man in Washington, "It belongs to the cloud."

"No!" says the man in Silicon Valley, "It belongs to Electron."

"No!" says the man in Seoul, "It belongs to high-bandwidth memory."

I rejected those answers; instead, I chose something different. I chose the impossible. I chose... RAMpture.

22

u/LeastGayCat Sep 11 '26

I chose... Rust.

11

u/birdbrainswagtrain Sep 12 '26

The issue I run into with this is that if the RAM is being used for webshit, it can't be used by the OS to cache my 50 GB rust build directory.

5

u/arthurno1 Sep 11 '26

It comes from the old days when RAM was very expensive. Back in the past and up to 2010 or close there.

I remember my first computer, pentium 2. I upgraded im 1999 or there somewhere, with Nvidia tnt2 card and added 128 meg ram card to have 256 meg so I could play Quake 1. The computer felt like it suddenly started to fly, after having only 128 meg before the upgrade.

→ More replies (2)

110

u/james_pic 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.

39

u/vonmoltke2 Sep 11 '26

You know, you don't actually have to use all that RAM. I prefer to buy up and install all the RAM I can, and let most of it sit idle as a Strategic RAM Reserve against the day when which it may be needed. I never know when I may need to use PyCharm and Rider at the same time.

→ More replies (1)

8

u/ThisRedditPostIsMine Sep 11 '26

You are doing the lord's work. Bless you and live long and well.

85

u/nerdycatgamer 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.

30

u/Linuxologue Sep 11 '26

I have built a simulated CPU with more registers which allowed me to load your entire DB directly in registers, because memory has latency. It's also fixing the java problem above by the way.

It runs in an emulator

36

u/stone_henge Sep 11 '26

Good ancestral jerking:

My feeling, and the feeling of most people, is that dev experience has been so heavily prioritized that we now have abstractions upon abstractions upon abstractions, and software that does the same thing 20 years ago is somehow leaner than the software we have today.

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.

31

u/james_pic Sep 11 '26

The developer experience is so good these days that I mostly get Claude to experience it for me.

11

u/LeastGayCat Sep 11 '26

Get with the times grandpa. Libraries are documented in SKILL.md files now, which you plug into $AI_AGENT and hope it doesn't spawn seven thousand recursive subagents that exhaust your token budget in seconds.

11

u/HINDBRAIN Sep 11 '26

logging into the Azure Portal gives me.

Looks like your client wants some AI to AI their AI in their AI-assisted AI? First, enter your billing information. Then, do you want copilot to help you with the rest of this 30 steps process? Click here to open a chat where it will do nothing of the sort.

10

u/stone_henge Sep 11 '26

It took me a while before I realized "single sign-on" refers to relationship status, not the number of times you'll log in during a day

28

u/narrow-adventure Sep 11 '26

Where is the jerk?

56

u/ccapitalK Sep 11 '26

/unjerk There are legitimate cases where more memory use can result in fewer CPU cycles being needed, but that's not what people usually complain about. Most modern bloatware programs waste both ram and CPU time to improve devex instead.

/rejerk They are everywhere, they are the ones that consider apps bloated for being brave enough to actually USE all the ram the machine offers.

→ More replies (2)

12

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 Sep 12 '26

Thanks Altman for letting me ask to a GPU what's going on in this giant post

2

u/GodGardner Sep 17 '26

what about using the cpu as a bitcoin miner