Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I want a Rust GUI framework or even entire app framework that can target desktop, mobile, and web, but I DON’T want to use web technologies other than when I am actually running within a browser. Is that Dioxus? I can’t tell the answer from what’s written here and in the comments.


If you don't want to use web technologies but still benefit from the non-web parts of the ecosystem (SDK, hooks, build tools) there's Freya. The creator is a wonderful guy and has put a lot of great work into making a nice Skia-based renderer for Dioxus.

https://freyaui.dev

WRT the other comment - `rsx!{}` is carefully designed to not leak details about the web. RSX is entirely abstract over the element+listener set so you can build whatever you want with it.


That seems like more of the same? rsx!{} basically presents a web view API, with CSS-driven layout (or something approximating that).

I'm looking for a native widget library that can compile to web technologies when running in the browser, but otherwise uses native widgets.


No. But what you want does exist to a certain extent.

DX tries to be "rust only" but basically gives you a macro to write HTML-like components, which are obviously just a shim between layers and the abstraction is leaky. You don't get much from that.

You probably want egui.rs


I want native widgets.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: