3 ms·
A lot of people express concerns about Electrons resource usage. I wonder if people are aware of projects like zserge/webview [1]? It provides a cross platform
by PascalW 8y ago
A lot of people express concerns about Electrons resource usage. I wonder if people are aware of projects like zserge/webview [1]? It provides a cross platform API on top of the built in platform browsers and thus is very lightweight.
Of course, it means you have to deal with cross-browser issues, but I guess webdevelopers are used to this anyway. I'm also aware that these projects don't provide all the APIs that Electron provides, but many apps that are really just a wrapper around a webapp this is totally fine IMO.
[1] https://github.com/zserge/webview https://github.com/zserge/webview
- skymt 8y agoThat doesn't seem like it would solve anything, unless I'm missing something substantial. Which specific browser engine it uses isn't as important for resource consumption as the fact that it's spinning up an entire browser engine per process.
- PascalW 8y agoAt least the binaries are substantially smaller because they don't actually include the browser. I can also imagine there's some potential for sharing the same engine across multiple apps, though I'm not sure if they actually do this.