Re:Tauri 1.0 – Electron Alternative Powered by Rust
by trinovantes on Thursday June 16, 2022 @07:49AM
(#31764882)
But Electron apps can also launch separate programs written in any language with child_process.exec() e.g. ffmpeg wrapper GUIs
Re:Tauri 1.0 – Electron Alternative Powered by Rust
by nu11ptr on Thursday June 16, 2022 @10:16AM
(#31766306)
I believe Tauri has "sidecar" which does the same thing
Re:Tauri 1.0 – Electron Alternative Powered by Rust
by thayne on Thursday June 16, 2022 @11:05PM
(#31773723)
But if you write your "backend" in rust, then with tauri you don't need a separate process, which may or may not be important depending on how your application works, and your tolerance for additional overhead.
You're assuming the 'heavylifting' part of the application is in the UI itself. Imagine some data processing app where the heavylifting part would benefit from a backend running in Rust. Say, an image enhancer of some kind.
> Without this requirement, it was also trivial before Electron showed up to write a small native wrapper application around the system-provided webview widget.
Electron also made the packaging of such an app dramatically easier when building on macos/linux/windows.