top | item 47161688

(no title)

blackoil | 3 days ago

Maybe this RAMmageddon will trigger a wave of optimized softwares that don't need GBs of memory for anything and everything.

discuss

order

TrackerFF|3 days ago

Let's see.

A) Programmers will get their shit together and start shipping lean software.

OR

B) New laptops will become neutered thin clients, and all the heavy lifting will be done by cloud service providers.

Which one seems more likely?

DharmaPolice|3 days ago

B would require a fairly large shift in approach since currently the primary way we interact with the cloud is via browsers which are probably the biggest single users of client memory currently.

blackoil|3 days ago

1. Most Web clients aren't light weight.

2. People will buy laptop with low RAM because that's only what they can afford (hopefully upgradable).

3. They'll crib Chrome being slow, and will be suggested to use lightweight apps.

Ekaros|3 days ago

B. But those neutered thin clients do not have enough ram to run software anyway even if all the real computation is in the cloud.

throwaw12|3 days ago

B sounds more likely because LLMs are already in the cloud and agents are thin clients

sourcegrift|3 days ago

If electron dies, I'll forgive the people responsible for this shortage

array_key_first|3 days ago

Part of the reason programs use so much memory is because of optimization, but of a different kind. Memory is fast-ish, so if you know or think that you will require X Y Z anyway then just load it in RAM. And, if you think you might need it later, don't bother unloading it. Just keep it around.

Garbage collectors also use similar strategies. Collecting garbage is expensive, so just don't until you need to. The extra memory usage in this case isn't a downside, it's an upside. Your code runs faster.

That's how Java and dotnet are able to achieve insane performance times in some benchmarks, like within 50% of native. They're not collecting garbage, and their allocators are actually faster than malloc.

If you've ever run a Java program at consistent 90% heap usage, you'll notice it absolutely grinds to a halt. I'm talking orders of magnitude slower. Naturally, this isnt highlighted in benchmarks, but it illustrates the power of allocating more memory.

Cyph0n|3 days ago

Or you won’t need RAM because everything will be hosted in the cloud and used via browser or just desktop streaming :)

codebje|3 days ago

Sure, but if the browser is the only thing that becomes more memory efficient that's still a substantial win.