In my experience, you have to write Rust to really learn it. I’ve read way more than I’ve written and still feel novice.
Discussion
That's been my approach too. I read the Rust book, wrote some code myself and read other peoples code, then started contributing to different projects. The thing I want to learn more about now is writing async code. Need it for an Iced project i'm working on.
Hmmm. Is this async code in general or specific to Rust?
Both tbh but mostly specific to Rust. I just don't feel like I understand it enough in Rust.
Wouldn’t ya know it. There’s a rust book about async. Cant attest to its quality but it’s got 1.6k stars on GitHub as an arbitrary metric. And it’s part of the language repo on GH.
Iced is sweet. My knowledge on it might be stale however. Back then it used a special subscriptions model for async stuff I got pretty into...
https://github.com/FuzzrNet/Fuzzr/blob/main/src/data/thumbnails.rs