u/PrestigiousBroccoliin r/rust • Recommends
On “So you want to write a GUI framework”
…n directly using Wayland APIs, it’s difficult to properly integrate into the UI system, and you need to implement a lot of things from scratch that are provided for free by MacOS and Windows, like window decorations (titlebars, shadows, rounded corners) accessibility and theme support, but also some more basic stuff like compositor crash recovery (link to this video
I would personally only consider writing a toolkit directly using Wayland if you are also writing a GNOME, or KDE Plasma competitor. Implementing such an alternative in rust would be great, but it would have an enormous scope, even relative to a cross platform toolkit.
A pure X11 backend could still be considered native and still useful…