Hacker News new | ask | show | jobs
by ianhawes 2732 days ago
You’re comparing apples to oranges.

3D models vs. app code.

You will be hard pressed to find any Electron app that exceeds 200 MB in disk space. Most are ~50 MB. Overall in 2018 that is not a big concern.

In gaming, high definition graphics are going to result in massively larger files. That’s not going to change anytime soon and no gaming company will prioritize a small download over better graphics.

3 comments

> You will be hard pressed to find any Electron app that exceeds 200 MB in disk space. Most are ~50 MB.

Huh? Looking at my applications folder right now:

Atom 1.31: 822mb

Daedalus 0.8: 265mb

Mist 0.9.2: 186mb

Neon 0.0.7: 180mb

Patchwork: 185mb

Riot 0.11.4: 160mb

VS Code: 193mb

The electron framework alone is 117mb on MacOS. Honestly, how many copies of that do I need?

If you have 20 such apps, you use 1% of your 250gb SSD (which is on the way low end) on redundant framework copies, with the benefit that the developer gets to test on the version of Electron you are running.
I don't understand why apps don't download an Electron runtime on launch and store it in a shared location. That way, if apps share a required runtime version, only one copy of that version runtime exists.
Yes I know, and the size of an Electron app versus a AAA game is sometimes 3 orders of magnitude in difference, which is why I pointed out that even a "small" app that's 100MB is still a lot to download on a limited speed connection.
50MB isn't a big of a concern until you realize high quality native app would do it in less than 5 and probably in less than 5% of RAM usage