this post was submitted on 14 Aug 2023
37 points (91.1% liked)

Rust

5771 readers
53 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Deely@programming.dev 1 points 1 year ago* (last edited 1 year ago) (2 children)

Thanks, you comment definitely makes me want to try Rust.

Could you tell me, can I use Rust as general purpose application language? Something like: create small executable app (win,unix,mac) that read some files, and do something with it, create GUI app that connects to DB and do something with it, etc?

[–] swordsmanluke@programming.dev 2 points 1 year ago

Yesbut...

Rust's GUI frameworks are all (afaik) still pretty early and a little clunky to use.

...and compiling for Windows is a little clunky.

From a purely yes/no perspective, you can absolutely use Rust for building desktop GUI apps... But I'd recommend using a different language unless your app has really tight performance requirements.

If you want to make a cross platform app with good GUI support, I'd a actually recommend checking out Godot. It's technically a game engine, but the built in scripting language (gdscript) and GUI components are really great. If gdscript is too slow for your purposes you can swap in a lot of other languages (including Rust) though C# is the best supported of these.

[–] crispy_kilt@feddit.de 1 points 1 year ago

You might like Tauri