5 ms·
Progressive Web Apps are better solution. Chrome and Edge have PWA installation on desktop, and work is already under way for missing native features, like file
by butz 8y ago
Progressive Web Apps are better solution. Chrome and Edge have PWA installation on desktop, and work is already under way for missing native features, like file system access. In a year or so they will replace need for Electron completely. Although they will never be as good integrated or performant as real native apps.
- paxys 8y agoProgressive Web Apps + missing features like file system access is exactly what Electron is.
- wmf 8y agoDo N Electron apps consume more RAM than N browser tabs?
- szemet 8y agoIt maybe does not mean that much, but at least code memory can be shared among electron app instances if it is deployed with shared libraries by a distribution package manager e.g. https://www.archlinux.org/packages/community/x86_64/electron/ https://www.archlinux.org/packages/community/x86_64/electron...
- wmf 8y agoOf course the main markets for Electron are Windows and Mac where it's probably not shared (although MS may try to fix this).
- discreteevent 8y agoExcept that you need a complete browser per application and a browser is heavier now than some CAD tools.
- pjmlp 8y agoNot at all, because I already have the browser. Don't need yet another one.
- szemet 8y agoEventually if electron gets popular enough you will have only one additional browser per system - the linux distriburion packaged shared electron. (e.g. https://www.archlinux.org/packages/community/x86_64/electron/ https://www.archlinux.org/packages/community/x86_64/electron... ) (not sure but even that could use a shared choromium lib - or am i wrong?) It is the same as having shared GTK or QT libraries (both with embedded web engine BTW - so plenty of engines already), or having a shared global python deployment with shared global packages (from these you sometimes need two: v2 and v3) So you will have one extra component per system. In Windows world maybe you will have one additional electron component per app, but there, it is the "normal" way (you have qt dlls in every qt app etc...) anyway, so not much difference compared to other frameworks there too.
- skybrian 8y agoThe security model seems to be quite different. For example, the proposed file access API for a PWA is sandboxed to a file or directory tree. Also, the platform for a PWA gets upgraded more regularly, which can be good (security patches or bad (breakage).
- _jezell_ 8y agoPWA certainly solve some challenges around installation and delivery, but they don't do that without additional tradeoffs, and you still end up with an electron style app, which is what Gruber doesn't like.
- pjmlp 8y agoYeah, but I get to keep a single browser instance.
- devwastaken 8y agoPwa can never replace electron. Pwa will always be in limited sandboxed api's that give little control over necessary features.
- pjmlp 8y agoIn a future where all apps are sandboxed there will be no major differences. On Windows(UWP) and ChromeOS/Android, PWAs have the same rights as other apps if properly signed.
- skybrian 8y agoWhere did you find this out? My quick search for how to sign a progressive web app didn't find anything.
- yrio 8y agoPWA in Windows 10 can access the same APIs as UWP C# & C++ apps https://docs.microsoft.com/en-us/microsoft-edge/progressive-web-apps/windows-features https://docs.microsoft.com/en-us/microsoft-edge/progressive-.... I don't know about Android / ChromeOS.
- pjmlp 8y agoOn ChromeOS you get access to these extra APIs, as it is a browser based OS. They have only been dropped for Chrome Apps. https://developer.chrome.com/apps/api_index https://developer.chrome.com/apps/api_index As for Android, the "What Web Can Do" PWA displays what extensions are currently available, https://whatwebcando.today/ https://whatwebcando.today/
- skybrian 8y agoThose are useful links but are they don't give PWA's the same rights as native apps. Chrome apps do use HTML and JavaScript but aren't PWA's. The API's and sandboxing is different. There are many useful HTML5 API's, but they don't require code signing as far as I know, and they don't have the same permissions as Android apps. (The permission system is entirely different.)
- largehotcoffee 8y agoThis is not going to happen.