Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I know it's a defacto complaint to leverage against Electron apps, but memory usage notwithstanding, I've never run into much lag issue on any major Electron app.




Surely there is a more effective way to write an app than to bundle an entire end-of-life browser and Node.js runtime into a 600MB monstrosity.

Of course there is, but not every decision in computing is (or should be) about raw efficiency.

Electron apps don't have to be 600 MB. VS Code is an entire fully-featured IDE and is a 90 MB download.

VS Code package in my applications folder is 600+ MB.

The Electron Framework.framework it contains is 400+ MB alone. I don't understand where you come up with your 90 MB figure?


The VSCodeUserSetup file from https://code.visualstudio.com/download is in the 90MB range.

Perhaps this file is just the installer and the actual system files are much larger? Or maybe your 400MB figure comes from a bloated install? Just speculating here.


Presumably the setup file is compressed, and the installation on disk isn't

A compressed download is my guess. The easiest way to predict if an app is using Electron is to see if the download is around 90 to 130 MB. Especially if that size feels unreasonable for the functionality that it offers.

My package app is 90mb

It depends. Numerous times when internet is spotty Slack and Discord both on different occasions have brought my systems to a halt until they can complete whatever task is stuck waiting (or I force close them).

It's really fucking obnoxious that somehow a goddamn web app in a wrapper is managing to cause system wide hangs.


True, i'm gonna start limiting electron apps CPU and IO percentage to not halt everything

I think that's probably a recipe to hit the limits more often and end up being more frustrating, depending on your hardware.

Can't you interrupt them (aka SIGSTOP) instead? Then you could resume them, instead of reopening them and potentially using state.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: