Re:Tauri: Rust-based Electron alternative releases beta
by fabiospampinato on Friday May 14, 2021 @01:49PM
(#27157372)
That'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.
Re:Tauri: Rust-based Electron alternative releases beta
by fabiospampinato on Friday May 14, 2021 @01:59PM
(#27157508)
> 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.
Re:Tauri: Rust-based Electron alternative releases beta
by hatch_q on Friday May 14, 2021 @02:19PM
(#27157809)
And with WebView, RAM will be spent on redundant copies (instances) of WebView.
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.