| ▲ | abrookewood a day ago | ||||||||||||||||||||||||||||||||||||||||||||||||||||
I think the key call out with this is how cool egui is (the Rust GUI library it uses). Check out their website: https://www.egui.rs/ The demos are very good: https://www.egui.rs/#clock Edit: egui is an immediate mode GUI library written in Rust. egui runs natively on , and on the web it is compiled to WebAssembly and rendered with WebGL or WebGPU. Everything you see is rendered as textured triangles. There is no DOM, HTML, JS or CSS. Just Rust. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | bschwindHN a day ago | parent | next [-] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
Devs are constantly making the mistake of falling in love with immediate mode GUIs... because it's convenient for them, the developer. For the user, it's almost always a worse experience as things don't behave in the same way as the rest of the platform they're on. egui is great for video game debug UI overlays and internal tools, and maybe some specialized graphical tools. Otherwise its quirks are too annoying for general purpose app usage. Sure, you banged out a UI quickly with it, at the expense of your users. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | TonyStr a day ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
I was about to come here and say that egui is a terrible choice for web. Everything is rendered in a canvas, so accessibility and extensibility is thrown out of the window. Basic browser functions like pinch-zoom don't work, it has some very wonky visual bugs when resizing the window, interactions have a very noticeable delay, no browser extensions work with this. This is really not a good solution for web apps, and if you're vibe coding your apps anyway, there isn't any reason not to have a native browser application. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | Fumblenuts a day ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
This feels like it would be an accessibility nightmare? But maybe it could be cool for doing some advanced animations or rendering games or something. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | marcelo-earth 15 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
It's the first time I've heard about egui. I'm currently working on a desktop app that uses Tauri, and I realized there's a Tauri plugin that connects the two: https://crates.io/crates/tauri-egui Maybe I’ll use it in my next project, the demos are good! | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | WithinReason a day ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
The anti-aliasing is broken, it doesn't apply gamma correction | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | troupo a day ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
> Everything you see is rendered as textured triangles. There is no DOM, HTML, JS or CSS. Just Rust. So that's why text selection doesn't work. | |||||||||||||||||||||||||||||||||||||||||||||||||||||