Has anyone here ever tried using Rust’s Qt or GTK bindings, or another library, to make a complex GUI beyond a few simple forms or dialog boxes? I keep hearing that the language’s architecture makes it really hard to do any sort of advanced GUI development on it, but what’s the actual experience like? How would you compare it to say, native Qt or GTK using C++/C respectively, or things like JavaFX or Flutter? Maybe even the .NET Framework or whatever Apple uses for their platform? Would you actually recommend Rust over any of those?

  • @Reaton
    link
    6
    edit-2
    2 years ago

    deleted by creator

    • @snoopa
      link
      72 years ago

      Lots of other Gnome apps are written in Rust as well.

      • @Reaton
        link
        3
        edit-2
        2 years ago

        deleted by creator

  • @kyleisguilty
    link
    62 years ago

    haven’t done much GUIs on rust but i can say the Qt/GTK experience isn’t good, Qt/GTK rely too much on multiple ownership and on rust that’s a big no-no (basically, you either have to put everything behind a RefCell or use unsafe everywhere)

    thankfully that problem can be avoided by simply writing the library in rust (although that does bring other problems)

  • DessalinesA
    link
    3
    edit-2
    2 years ago

    I’ve only played around with some, but my personal favorite was iced. The GTK and QT binding frameworks seemed overly complex for 99% of use cases.

  • @newhoa
    cake
    link
    2
    edit-2
    2 years ago

    Czkawka is a rewrite/improved version of FSlint written in Rust. It finds duplicate, broken, and excess files. And it can compare images and videos to find similar media. It uses Gtk (and Glade).

    Edit: Oh, and RedoxOS is an entire GUI OS written in rust.

    Sorry, I don’t personally have any experience programming Rust. But both of the projects I listed have pretty rapid development so I can’t imagine it’s insanely difficult. Then again maybe the devs are just coding geniuses. The guy that does Redox also works for System76 and a lot of their software is written in Rust.