I Switched from Flutter and Rust to Rust and Egui
jdiaz97.github.io
I Switched from Flutter and Rust to Rust and Egui
1–10 of 148 posts
Re: I Switched from Flutter and Rust to Rust and Egui
#2Re: I Switched from Flutter and Rust to Rust and Egui
#3How is shipping egui apps vs flutter. I'd imagine that especially shipping a rust integration with Flutter might be a bit of a pain
Re: I Switched from Flutter and Rust to Rust and Egui
#4I guess it makes sense since immediate mode focuses on speed and applications like games, but if only there was best of both worlds.
Re: I Switched from Flutter and Rust to Rust and Egui
#5Re: I Switched from Flutter and Rust to Rust and Egui
#6I still prefer good old GUI frameworks with WYSIWYG designers.
No quick and easy drag&drop just yet, but IDE support for live preview rendering makes it come pretty close. I do long for the Visual Studio GUI design days, but things aren't as barebones anymore as they used to be in open source Rust land.
Re: I Switched from Flutter and Rust to Rust and Egui
#7Flutter answers questions about more robust UI.
It's good that you chose the right tool for the job and more people should know that there are options. But fundamentally I'm most motivated by the possibility of a robust UI framework made from first principles to be as low friction as egui but with the accessibility, performance, and visual flexibility of stylable retained mode guis.
Raph Levien and the xilem project might be getting us closer.
Re: I Switched from Flutter and Rust to Rust and Egui
#8I liked the DX with the tools and the `rsx!` macro. The use of `#[cfg(feature = "server")]` to define server-side code is interesting, it lets you keep a shared codebase for frontend and backend, while still controlling what gets compiled to WASM for the client.
[0] -- https://dioxuslabs.com/
[1] -- https://blazingboard.ch/ (not mobile friendly, sorry)
Re: I Switched from Flutter and Rust to Rust and Egui
#9So egui is great for projects where the application runtime is short lived, or for overlays in longer lived projects. The visual equivalent of scripts, where you know you need a small amount of immediate visual feedback and tweaking parameters for it to be useful to the end user. Flutter answers questions about more robust UI. It's good that you chose the right tool for the job and more people should know that there…