Hacker News new | ask | show | jobs
by arcfour 264 days ago
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.
2 comments

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