this post was submitted on 09 Dec 2025
760 points (98.2% liked)

Technology

77571 readers
5530 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
 
  • Windows Latest discovered Discord and other Chromium and Electron-based applications with high RAM usage
  • RAM usage spikes from 1GB to 4GB on Discord both in and out of voice chat
you are viewing a single comment's thread
view the rest of the comments
[–] floofloof@lemmy.ca 168 points 3 days ago* (last edited 3 days ago) (22 children)

If there's any silver lining to this, perhaps we can get a renewed interest in efficient open-source software designed to work well on older hardware, and less e-waste.

[–] Ugurcan@lemmy.world 35 points 2 days ago* (last edited 2 days ago) (2 children)

If there’s any silver lining to this, fuck JavaScript, fuck JavaScript wrappers and fuck all people picked JavaScript for the programming language of anything cross-platform.

It’s unbelievable I would need 6 gbs of RAM to say a simple “hello” to my friends. It used to take 300kb with IRC.

[–] Nenutzerbame@feddit.org 18 points 2 days ago (1 children)

that has very little to do with JavaScript though 🤷‍♂️

[–] fernandofig@reddthat.com 16 points 2 days ago (1 children)

Maybe not Javascript as a language, but the framework it requires to get applications written with it running, which is a lot. And in a roundabout way, it kinda has a little to do with the language itself, as the reason electron got so popular in the first place is because it catered to web developers who either couldn't be bothered or couldn't figure out proper desktop app devlopment, so they went with the easy short-term path. And Javascript kinda is an easy language to pick up and write simple.projects in - now, maintaining more complex applications with it is another story.,.

[–] Nenutzerbame@feddit.org 7 points 2 days ago (1 children)

It has less to do with JavaScript as most people tend to think IMO. JavaScript does not require Electron to exist, it's rather the other way around. The fact that Electron ships a whole browser is the culprit and you could even argue that V8 is bloated as well, though I'm not sure how efficient it is built and how much size it takes. Browsers historically need to support so much legacy stuff which is another main factor for its size. I really hope for stuff like Tauri or Servo to gain traction.

[–] SlurpingPus@lemmy.world 3 points 2 days ago* (last edited 2 days ago)

you could even argue that V8 is bloated as well

Not really, no. It's very compact compared to Python, Java or most anything in the same league. A compiled program would be smaller, of course, and Lua is minuscule next to anything — but otherwise V8 is small and fast. Iirc Node.js takes something like 30 MB out of the box, including its modules and libraries.

[–] SlurpingPus@lemmy.world 1 points 2 days ago

Even Electron apps aren't necessarily ram hoarders: Stretchly, which is a break reminder and thus needs to always run in the background, takes something like 20 or 40 MB of memory.

load more comments (19 replies)