Post AzwDPaGExsqLCwlAau by mmstick@fosstodon.org
(DIR) More posts by mmstick@fosstodon.org
(DIR) Post #Azu5npfW8wAFziiNH6 by musicmatze@social.linux.pizza
2025-11-04T13:49:46Z
0 likes, 0 repeats
Has someone successfully written a #rust #rustlang #gui application with both #slint and #cosmic and can provide a comparison of these two?Please boost for maximum visibility.:boost_ok:
(DIR) Post #AzuFKpHLVqrfvfDSme by chriscochrun@mastodon.online
2025-11-04T15:36:32Z
0 likes, 0 repeats
@musicmatze I've tried. Not successfully. I like the simplicity of slint, but I don't think it's that great to work with if you're going to be doing anything real major with it. If it's purely ui and fairly simple it'll work, but they use their own structs inside their DSL for everything the ui needs access too and you can't add methods to those structs. So you have you do some duplication or monkeying around to make methods for that data in the rust side.
(DIR) Post #AzuFaIurbVIQBw541Q by chriscochrun@mastodon.online
2025-11-04T15:39:19Z
0 likes, 0 repeats
@musicmatze as far as cosmic goes, once you get how the elm architecture works in it, it's really nice to work with. It just makes things much cleaner and everything can be composed. The only downside is layout is a bit trickier and some of the widgets aren't as full fleshed as I'd like, but with how the core is so much nicer, I would much rather work in it. Iced, which cosmic is downstream from, has some awesome debugging and developer tools in the works too.
(DIR) Post #AzuGEwg7Bkq35wYrtg by chriscochrun@mastodon.online
2025-11-04T15:40:19Z
0 likes, 0 repeats
@musicmatze note that I tried slint, but gave up after a while. With cosmic it's stuck with me and I'm still building my app, but it's going well thus far.
(DIR) Post #AzuGExqQqsgYiEOccK by musicmatze@social.linux.pizza
2025-11-04T15:46:42Z
0 likes, 0 repeats
@chriscochrun thanks a lot for your insight!
(DIR) Post #AzuQjcd8m8yBR5R88O by 13hannes11@fosstodon.org
2025-11-04T17:44:17Z
0 likes, 0 repeats
@musicmatze slint seems great if you are coming from qt/qml.
(DIR) Post #AzwDPaGExsqLCwlAau by mmstick@fosstodon.org
2025-11-05T14:24:22Z
0 likes, 0 repeats
@musicmatze We have cargo-generate templates for apps and applets here:- https://github.com/pop-os/cosmic-app-template- https://github.com/pop-os/cosmic-applet-template