News for hackers. Stuff that matters.
Re:Tauri: Rust-based Electron alternative releases beta by oscargrouch on Friday May 14, 2021 @10:35PM (#27161792)
I'm not saying that Rust is not a good language for UI, and im also not saying UI is simple. The problem is that you are just comparing it to JavaScript which is untyped and easy to beat.

In my case i'm comparing it with languages that are also powerful, safe, fast and more well designed for this kind of scenario, which JavaScript or Python aren't.

But if i had just two picks, between JavaScript or Rust, of course i would choose Rust without blinking. But once there is more options.. (in this case you can read my comments above).

And i agree with you, that if you sum it all, maybe you get more productive (as in ready to ship) in Rust than with JavaScript.

Re:Tauri: Rust-based Electron alternative releases beta by ironmagma on Friday May 14, 2021 @10:55PM (#27161888)
Sure, those other languages would be fine, but they all have their own severe downsides..

C# - requires an obscure runtime (Mono) on most platforms

Kotlin - suffers from JVM's infamous GC pauses and startup time

Swift - not open source (not SwiftUI, the good part)

TypeScript - mostly same problems as JavaScript

Java - same problems as Kotlin

No one has managed to do open source cross-platform development well yet IMO. I'd be happy to be proven wrong.

Re:Tauri: Rust-based Electron alternative releases beta by nsonha on Saturday May 15, 2021 @12:08AM (#27162270)
Ocaml: https://github.com/revery-ui/revery

F#: https://safe-stack.github.io

To watch:

Kotlin NATIVE

Scala NATIVE

Note that even with Scala's complexity, the language's focus is first and foremost domain modelling & expressiveness.

Rust is first and foremost, a language for memory safety and raw performance, it just happens to have some level of expressiveness. Nothing wrong with that either.

Re:Tauri: Rust-based Electron alternative releases beta by ironmagma on Saturday May 15, 2021 @01:17AM (#27162624)
Those are some interesting picks, thanks! Will definitely be checking them out.