News for hackers. Stuff that matters.
Re:Lightgallery: Electron and Node.js-based image viewer for... by mananvaghasiya on Thursday May 26, 2016 @06:19AM (#11776848)
Me too, but there should be some way to share resources between them
Re:Lightgallery: Electron and Node.js-based image viewer for... by oblio on Thursday May 26, 2016 @06:49AM (#11776961)
Shouldn't that be the OS's task? My kernel knowledge is rusty but I remember reading about concepts such as DLL/SO sharing, memory page sharing, etc.
Re:Lightgallery: Electron and Node.js-based image viewer for... by szastupov on Thursday May 26, 2016 @07:04AM (#11777025)
This works for libraries/frameworks installed in a common place, like /usr/lib or /Library/Frameworks.

But, all those apps ship their own copy of Electron, so there is no simple way for OS to share pages.

Re:Lightgallery: Electron and Node.js-based image viewer for... by oblio on Thursday May 26, 2016 @07:07AM (#11777034)
Well, then this seems more of a packaging problem than an actual tech problem.

In an ideal world that would be the next step if the app reaches a large audience. I'm not sure that from the upstream developer's point of view the investment of limited resources into per-OS packaging is a good idea at this stage...