News for hackers. Stuff that matters.
Re:Tauri – Electron alternative written in Rust by IceWreck on Wednesday January 05, 2022 @06:34AM (#29807776)
If someone is looking for the Go alternative, there is Wails.

https://wails.io/

Re:Tauri – Electron alternative written in Rust by mfollert on Wednesday January 05, 2022 @07:29AM (#29808143)
> Wails automatically makes your Go methods available to Javascript, so you can call them by name from your frontend! It even generates Typescript versions of the structs used by your Go methods, so you can pass the same data structures between Go and Javascript.

That sounds really great!

Re:Tauri – Electron alternative written in Rust by OJFord on Wednesday January 05, 2022 @08:39AM (#29808708)
That does sound really nice - would love that with Tauri.

I've never used Typescript, so at the moment I just have the pain of untyped structures in JS-land (and making sure I get it right passing back in to Rust-land) - but, at least as far as I know, if I did use TS I'd just suffer from manually duplicating data structures instead.

(I suppose ultimately I intend to do that, it's just so imperfect anyway that I haven't bothered yet.)

Re:Tauri – Electron alternative written in Rust by makapuf on Wednesday January 05, 2022 @07:11AM (#29808006)
Nice (linux is coming soon though)
Re:Tauri – Electron alternative written in Rust by IceWreck on Wednesday January 05, 2022 @11:03AM (#29810633)
Wails works on Linux, has been for years but they decided to delay the Linux version for the latest release for some reason.