• LeFantome@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    5 months ago

    Depends on your point of view.

    Their motivation was “we have a vision for our UX and GNOME won’t let us do it — so let’s write our own.”

    It was only after deciding to write their own that they decided to write it in Rust.

    They like Rust, but that is not what motivated them to make COSMIC.

    • AProfessional@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      5 months ago

      My view is that if the goal was to effectively make good software they wouldn’t start from scratch.

      If they used wlroots the desktop would be usable today with a good feature set.

      If they used Qt or GTK they would have feature rich well supported software. (GTK4 could have been an improvement for them, it’s designed around being minimal and having platform libraries implement design choices)

      They didn’t take a practical approach imo. You could argue its a long term investment but because of it it’s probably years off of feature parity. The only upside today is… it’s written in Rust.

      • model_tar_gz@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        5 months ago

        Sometimes old software just has too much legacy spaghetti written in to really build from though. Starting from scratch gives new ideas room to breathe and grow that might otherwise be impossible to implement in the previous framework—which while probably useful can also be stifling. See the reason why Wayland is being written to replace Xorg.

      • teolan@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        5 months ago

        They dix not build the compositor from scratch, they built it on top of smithay, a library similar to wlroots but written in Rust.

        I don’t know if you’ve actually tried to use GTK or QT, but it’s insanely painful. There is a reason almost all apps are written in Electron. Native GUI toolkits suck. If they had used GTK they would have still had an outdated and hard to maintain toolkit, and to deal with Gnome politics. Using GTK was actually the initial idea.

        If we want Linux Desktop to succeed, at some point we have to build tools that people want to use. I’m glad they’re doing it.