- cross-posted to:
- linux@programming.dev
- linux@lemmy.world
- linux@lemmy.ml
- cross-posted to:
- linux@programming.dev
- linux@lemmy.world
- linux@lemmy.ml
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.
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?
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.
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.
Check out the application example in pop-os/libcosmic. You can also compared with all the examples in the iced-rs/iced repository. The iced API enforces that you model your application in an Elm style.
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 projects are helpful and thanks for pointing me in the right direction.