3 ms·
> It would be quite interesting when Browser Apps could also run as native apps without relying on electron (ie, being able to pull up their own UI when not pro
by collinmanderson 9y ago
> It would be quite interesting when Browser Apps could also run as native apps without relying on electron (ie, being able to pull up their own UI when not provided one)
What do you see as the advantage of native at that point - having its own window?
- imtringued 9y agoMost likely filesystem access and other native features like desktop notifications. Then there is the efficiency. My suspicion is that electron has a completely misconfigured caching system. Usually only one browser is running on a system and therefore many applications share the caching system. This means each electron application has an oversized cache that wastes memory and disk without meaningfully increasing performance.
- collinmanderson 9y agoso is web or electron more efficient? Also, web now has desktop notifications - right?
- stronglikedan 9y agoBeing able to use it without internet connectivity, as well as the local file system access and efficiency gains that another commentor pointed out.
- zaarn 9y agoElectron is basically a standalone browser tab. This is quite resource expensive. If WASM apps simply use their own rendering, ie the Qt Toolkit they get a much more native feel on top of having a rendering engine that is more optimized for out of browser use (due to not having a DOM, etc.) It would also slim down the applications a lot, notably when you dynamically link against the toolkit (which also means you share the lib with other apps instead of every app having it's own copy of electron)