Our new, not yet released Rust-based desktop environment for Pop!_OS and other Linux distros is filling out with some essential systems that cater the DE to both users and developers alike. Customization is one of our main focuses for COSMIC, and was a huge focus for us in August, too.

  • @ike
    link
    English
    4
    edit-2
    1 year ago

    Thanks team for the hard work, this is shaping up to be a good platform. I would like to learn more coding and play with making some simple apps. I read the rust book (and completing the exercises) and the borrow checker and syntax seem friendly to me even only having only dabbled in light scripting and querying. However, I don’t really know much about actually making a full program. Like I’m not super clear on how to best store persistent data, hook things into a GUI, etc. I don’t have a lot of experience building an api and best practice with exposing private/public, etc. Outside of school does anyone have any advice for getting started on application building? Also will libcosmic be getting some documentation and quickstart type material in the next year?

    • @M4775
      link
      English
      21 year ago

      I think there’s some tools in development that will help people create apps in Rust for COSMIC. Maybe a little patience is all you’ll need.

      • @ike
        link
        English
        11 year ago

        Yeah I’m looking at the sample projects and already starting to understand the layout a little better. I might look at relm to experiement with elm like uis.

    • Michael Murphy (S76)M
      link
      English
      2
      edit-2
      1 year ago

      Check out the application example in pop-os/libcosmic. You can also compare with all the examples in the iced-rs/iced repository. The iced API enforces that you model your application in an Elm style. Both APIs are under construction though. So breaking changes will happen over time. Though Rust makes it easy to refactor to changes.

      • @ike
        link
        English
        1
        edit-2
        1 year ago

        Definitely agree from my initial experimentation about Rust making refactoring much easier. I’ll probably experiment some for fun while you all are working on the APIs. The sample app existing app projects are helpful and thanks for pointing me in the right direction.