News for hackers. Stuff that matters.
Re:Tauri vs. Electron – Real world application by cheriot on Monday August 22, 2022 @01:37PM (#32554663)
> You have to rewrite your app's backend in Rust

Tauri has "Other Bindings" on the roadmap, but, for now, this requirement is big limitation. imo, the article should have lead with that instead of burying it at #4.

Re:Tauri vs. Electron – Real world application by sysop073 on Monday August 22, 2022 @02:57PM (#32555645)
It's only a limitation if your app is currently written in Javascript, which seems like a silly assumption. If your app is currently written in Rust, Electron has the equally big downside of "you have to rewrite your app's backend in Javascript"
Re:Tauri vs. Electron – Real world application by cheriot on Monday August 22, 2022 @03:12PM (#32555830)
My impression is that Electron can wrap whatever backend you want to use. Is that not the case?
Re:Tauri vs. Electron – Real world application by orthecreedence on Monday August 22, 2022 @04:26PM (#32556752)
I've embedded a rust logic core into electron, so yes, anything that can expose a C API can be loaded into electron.

That said, after playing around with Tauri a bit I have to say it makes it magnitudes easier to embed rust. So if your target is rust, it's a much nicer option.

Re:Tauri vs. Electron – Real world application by moffkalast on Monday August 22, 2022 @05:31PM (#32557560)
Tauri supports all languages, as long as they're Rust.
Re:Tauri vs. Electron – Real world application by leodriesch on Monday August 22, 2022 @03:47PM (#32556283)
You could spawn any local server from Node and talk to it from the web side.