Hacker News new | ask | show | jobs
by vijaybritto 2687 days ago
The main problem that everyone has with electron is the RAM consumption right?! If the webviews are anyway gonna increase the RAM to electron levels while being significantly hard to test and deploy then this will not work out ever. I'm only bothered about low RAM memory usage not the disk space.
2 comments

A simple hello world style app in electron and in my own project [1] show electron using ~100mb while the webview based project ~50mb, so there's that.

[1] https://github.com/zenakuten/webview-cs

If you’re concerned about RAM, using this approach makes a lot of sense. Every process of your system browser running, (different tabs, different apps with web view), the OS can share memory between since it’s the same binary. With electron, each app bundles their own browser and memory cannot be shared since it’s different binaries.