What do people use for simple UI projects?

57 points Still-Leather-8535

I'm wondering what kind of crates people typically use if they need a very basic UI - when I looked around I found things like the ggez crate, but that seems awfully heavy if all you need is to draw a window and some simple images on screen.

Some examples of the kinds of projects I'm thinking about could be a basic tic tac toe program, or perhaps a chess engine that you can play against, maybe a calculator app? -- basically things where you don't need much more than the ability to draw basic shapes to the screen, and basic mouse/keyboard state access (mouse position, keydown etc)

I came across the Dioxus project which looks nice, and even though I understand it's not electron, I still feel a little uneasy about it, is anyone familiar with what kind of ram usage it has? Are there any obvious "problems" with it?

​

If anyone has any recommendations for what to use, then that would be great :)