Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

posts/shades-of-rust-gui-library-list #190

Open
utterances-bot opened this issue Apr 27, 2023 · 4 comments
Open

posts/shades-of-rust-gui-library-list #190

utterances-bot opened this issue Apr 27, 2023 · 4 comments

Comments

@utterances-bot
Copy link

50 Shades of Rust, or emerging Rust GUIs in a WASM world

An overview of Rust GUI libraries and frameworks, focused on WASM. Discover the latest GUI toolkit options for Rust, increase your programming skills, and create efficient WebAssembly bundles that will help you build comprehensive applications.

https://monadical.com/posts/shades-of-rust-gui-library-list.html

Copy link

Interesting for sure, but still annoying that no one has figured out a native widget toolkit rendering solution like wxWidgets, IUP, or NAppGUI. These provide native look-and-feel, accessibility, and vastly reduced binary sizes (and sometimes speed improvements). In terms of web rendering, you can from GTK with Broadway though it's not quite the WASM experience…

Copy link

nptr commented Aug 5, 2023

There was iui which provided a real native and multiplatform GUI, although it is now seemingly abandoned.

I don't mean to toot my own horn, but I did update and extend it recently under the name libui.
Good enough for tools, but like most Rust UI libs, I wouldn't do mission critical stuff with it.

Copy link

jaens commented Aug 8, 2023

Most of these "non-native"/"re-inventing the wheel" GUI toolkits are very frustrating to use for regular desktop apps due to severe lack of functionality, except for games, where horrible user experience is expected...

As someone who's tried to (productively) use apps based on them, I really wish people stopped using these.

eg.:

  • No accessibility eg. text<->speech, font sizes, colors, keyboard/mouse settings, animation settings, auto-focus.
  • No platform-specific keyboard shortcuts and expected behavior.
  • Missing handling of various edge cases in eg. focus handling or text editing.
  • No support for languages that require an IME to enter text.
  • No proper copy-paste (in some cases).
  • No drag-and-drop.
  • No integration with desktop automation software (~accessibility again).

...to give a few examples.

@nptr
Copy link

nptr commented Aug 8, 2023

I really wish people stopped using these.

On the bright side, it increases the chance of getting usable versions for Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@jaens @SamuelMarks @nptr @utterances-bot and others