News for hackers. Stuff that matters.
Re:Tauri: Rust-based Electron alternative releases beta by pavlov on Friday May 14, 2021 @01:43PM (#27157296)
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.

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.
Re:Tauri: Rust-based Electron alternative releases beta by monocasa on Friday May 14, 2021 @02:29PM (#27157955)
If it's the same system dll, then it'll share all of the RO segments.
Re:Tauri: Rust-based Electron alternative releases beta by pavlov on Friday May 14, 2021 @04:13PM (#27159181)
That's not how system frameworks work.