Oddbean new post about | logout
 There’s a Rust Bitcoin TG chat. 

Have you read the rust book?

https://doc.rust-lang.org/book/

CC @HunterBeast @benthecarman @Start9 
 Loved the Rust book when I started with Rust. I recommended in my comment as well!

I deleted my TG account so can't participate there unfortunately. 
 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. 
 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.

https://github.com/iced-rs/iced/tree/master 
 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. 

https://rust-lang.github.io/async-book/ 
 How did I not see this? Thanks Gary 
 🫡 
Best of luck. Slap some code into nostr sometime if you have any more questions. Can’t promise I know the answer. 
 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