5 ms·
Apple's brand new iMacs with the M1 CPU only have 8 GB of RAM. If every little desktop widget loads its own browser engine, most of that RAM will be spent on r
by pavlov 6y ago
Apple's brand new iMacs with the M1 CPU only have 8 GB of RAM.
If every little desktop widget loads its own browser engine, most of that RAM will be spent on redundant copies of Chromium.
If your Electron app is something that you expect users to run almost exclusively, then no problem. If it's just another little client app for some service, please consider a solution that would reduce its memory footprint.
- fabiospampinato 6y agoThat's a fair point, but just ship a website then, much easier and pretty much same result. It makes sense to use frameworks like Electron if they enable new capabilities for your app, and Electron is very good at that, bundling Node.js with it, which allows you to share code between frontend and backend and tap into the same ecosystem of packages, plus chances are you already know Node.js, Tauri is enabling 0 of this, at least presently.
- fabiospampinato 6y ago> much easier and pretty much same result. Actually better results even, because under macOS for example the webview is provided by Safari, but if you are using Chrome/Firefox as your browser of choice and you are using a Tauri app now you are using 2 browsers effectively, while if you ship a website you can use that website with whatever browser you prefer.
- hatch_q 6y agoAnd with WebView, RAM will be spent on redundant copies (instances) of WebView.