News for hackers. Stuff that matters.
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.