Oddbean new post about | logout
 Hey folks!

If you have any good resources that could help a newbie get started with Rust or a pro get deeper into the materials of a particular topic, please share them here! 
 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 
 When I started learning Rust, I found this resource particularly helpful (together with ChatGPT to explain some concepts):
https://doc.rust-lang.org/book/

Here is another good resource with severeal different learning resources in it (resource-ception):
https://github.com/mre/idiomatic-rust 
 I enjoyed starting with the rustlings exercises.
https://github.com/rust-lang/rustlings  
 The Rust Book was my "Learn you a Haskell" for Rust 
 
nostr:nevent1qqsff0yqjs29ewr8kqc3e8jmzpyu2f6gqt485qqf3d9nd4er05xuvxspzemhxue69uhkzarvv9ejumn0wd68ytnvv9hxgq3qktt8phjnkfmfrsxrgqpztdjuxk3x6psf80xyray0l3c7pyrln49qxpqqqqqqzgvws42