Re:Show HN: Hacker News desktop app made with Electron and Node
by achairapart on Wednesday September 16, 2015 @12:34PM
(#10227843)
Looks cool. But... 100+Mb for a notification app?
[ Parent
| on HN ]
Re:Show HN: Hacker News desktop app made with Electron and Node
by Artemis2 on Wednesday September 16, 2015 @12:43PM
(#10227913)
That's Node (V8) and Electron (Chromium and all its dependencies) for you.
Re:Show HN: Hacker News desktop app made with Electron and Node
by kuschku on Wednesday September 16, 2015 @01:21PM
(#10228230)
Maybe, just maybe, we should just bundle Node and Electron into a package, install that as a shared library (similar to the way .NET and Java are installed) and then just ship, in the installer, a tool that downloads those if not already installed?
Would save a lot of memory and time for everyone.
Re:Show HN: Hacker News desktop app made with Electron and Node
by mmastrac on Wednesday September 16, 2015 @01:32PM
(#10228324)
Electron is moving pretty quickly (and breaking APIs) at this point so you'd end up with just as many versions of the shared library as you would copies in applications.
Re:Show HN: Hacker News desktop app made with Electron and Node
by kuschku on Wednesday September 16, 2015 @01:44PM
(#10228415)
Breaking APIs is not generally good either.
But if a single newsreader contains more code than a full PlayStation game, you know something’s wrong.
This is just Wirth’s Law in action.
Re:Show HN: Hacker News desktop app made with Electron and Node
by slimsag on Wednesday September 16, 2015 @03:42PM
(#10229264)
The very fact that we 'do not break APIs' is one of the reasons that this newsreader is 100+ MB. If Google Chrome wasn't 4,490,488 lines of code designed across years of development to, well, _support old web APIs_ -- then it would likely be much smaller. :)
Re:Show HN: Hacker News desktop app made with Electron and Node
by kuschku on Wednesday September 16, 2015 @03:51PM
(#10229341)
Well, and, as the parent said, even with this you still can’t use the same version of the library even for a few months. That’s the worst out of both worlds.
Re:Show HN: Hacker News desktop app made with Electron and Node
by dattl on Wednesday September 16, 2015 @12:46PM
(#10227938)
How is it 100 MB? RAM or disk space?
Re:Show HN: Hacker News desktop app made with Electron and Node
by achairapart on Wednesday September 16, 2015 @01:04PM
(#10228094)
After checking RAM usage, I'd say both.
Re:Show HN: Hacker News desktop app made with Electron and Node
by Tobu on Wednesday September 16, 2015 @05:13PM
(#10229918)
256MiB RSS when active, hahaha.
Chrome isn't memory efficient, but this takes the cake.
Re:Show HN: Hacker News desktop app made with Electron and Node
by bbaumgar on Wednesday September 16, 2015 @01:00PM
(#10228059)
Disk space
Re:Show HN: Hacker News desktop app made with Electron and Node
by jingweno on Wednesday September 16, 2015 @01:32PM
(#10228329)
Yeah, unfortunately the app bundled with a Chrome. But, the upside is it's implemented in HTML/CSS/JavaScript and it's hackable :)