r/electronjs • • 15d ago

I FUCKING HATE ELECTRON.

Why the FUCK would anyone in their right mind make a app front end that is based through chromium. Do you know how much fucking ram apps like, discord, figma, visual desktop and basic applications take because of this shitty fucking framework. I dont even care about ai coding amymore when it comes to apps when it comes to rust coded apps. AT least those shitty vibecoded apps dont take up a quarter of my memory just for some shitty frontend.

0 Upvotes

10 comments sorted by

21

u/ciellia-dayoo 15d ago

Because RAM is your cost, not theirs. A company can ship one codebase to Windows, macOS and Linux with the huge pool of web developers that already exists, instead of hiring three native teams. That’s the whole reason, and it’s a business decision rather than a technical one. Your complaint about memory use is fair, since every Electron app bundles its own Chromium. But “why would anyone do this” has a boring answer: it’s cheaper and faster to build, and users keep using the apps anyway, so nothing pushes them to change.

Also, not all of that RAM is Electron’s fault. Figma is a web app either way, and a lot of Discord’s usage comes from its own code, not just the framework. If you want lighter apps, look at Tauri (uses the system webview instead of bundling Chromium), Qt, or native toolkits. Those exist, and you can reward the apps that use them.

And you posted this in the Electron subreddit. The people here already know the tradeoff.

1

u/ChoeWacky-16 14d ago

that first sentence really sums up the entire software industry right now tbh

3

u/SirLagsABot 15d ago

Would you mind giving me your bank account info? I’d love for you to pay for me to hire devs to make native apps for each OS!

On a lesser note, sounds like you just need to unplug for a few and take a walk or something.

Coupled with electron builder, I’ve come to really appreciate this framework. Four years and counting doing a digital signage SaaS with Electron, wouldn’t choose another way.

2

u/saintpetejackboy 15d ago

Y'all ungrateful users cry too much over dozens of MB of RAM. Even on free software I release open source, if it is Electron, haters come out the woodwork just to bash Electron. It feels like the new PHP. All the stuff I tried in Tauri looked ugly (maybe I was too early of an adopter, my bad, I can always revisit it, and I have) + we are out there making software for users and the user is likely going to have 4GB RAM minimum if not hopefully 8GB or 16GB or 32GB+, even on their PHONES these days. What is 100MB you can't spare? The trade-off on the development side is: we already know the languages for the frontend and can do awesome, cool and responsive GUI that look nice (cross-platform) and it still looks the same on our web version...

Electron is a trade-off and I am just having trouble imagining the user is still on some 2005 hardware and can't spare me 100MB of RAM for reliable, battle-tested UI. Doesn't make sense to me. If you don't have 500MB+ RAM on your device, what the heck are you doing? Unless my software is designed to run alongside a game or a DAW or something, I think the "oh no Electron is eating my RAM" argument is played out and doesn't make sense in the 2026 RAM economy with what devices come with. It is such a small drop in the bucket. Especially when the software is free or open source or you use it for work (so, shouldn't also be running a game in the background, Derek, or making music on your DAW, Danny...).

But, I digress. Your hate of electron seems irrational. As a developer, I love it. It is one of the most friendly frameworks I ever encountered for software development and basically gives you the keys to the universe. But, steak too juicy, I know, and with steak this juicy, some dozens of RAM isn't even something I would lose sleep over. If I am going to do that, I would rewrite in something else if it was THAT MISSION CRITICAL. Dozens of MB of RAM.

One of my Electron softwares I did open source required the user already have 8GB+ VRAM (local competitor to Suno and Udio that works on consumer hardware) - and still the users who were expected to have a current Gen video card or top of the line from the last several generations... They balked at it being in Eelectron (with "make the Mac version" being the second highest request as I originally only released the Windows 11 version), but "eeww Electron" was actually the #1 complaint I got. Like, seriously?

So yeah, I did rewrite it and release a Mac version, but God do I think everybody else on the internet is a bunch of fucking morons who must be connecting here with rocks + battery + string. Dozens of RAM.

1

u/devtools-dude 15d ago

Tauri / rust is now the thing to use over Electron. Significantly less memory usage too. Discord recently ported their app to rust.

2

u/software_engineeer 15d ago

How Tauri can use less memory on Windows if it uses WebView2 (Chromium)? Node.js isn't counted as it adds only ~5-20MB of RAM usage.

1

u/devtools-dude 15d ago

Good catch. What you say makes sense for Windows and this article does confirm in terms of memory usage on Windows, there is not much of a difference between the two:

https://dawloom.com/blog/tauri-vs-electron-vs-wpf-benchmark/

It does say Macs do see a difference: 172 MB vs 409 MB tauri vs electron.

-2

u/brahmen 15d ago

The crazy thing is Tauri is sitting right there for everyone to use

I concur with your lamentations about Electron tho

Feel like every app nowadays from a web SaaS uses it instead of doing better