Struggle with Rust compiler — resources Link to heading
I wanted to share excellent resources to learn Rust. Obviously, The Rust Programming Language and The Rust Reference are probably the first resources to check out if you are into Rust. However, they are kind of boring to just read, so if you like to learn from exercises, then Learn Rust With Entirely Too Many Linked Lists is so far my favorite. In particular, the resource covers smart pointers Box, Rc, and RefCell in depth.
You will implement various types of data structures based on linked lists in Rust, ranging from a very simple stack to an advanced deque. The resource guides you through countless compiler errors with detailed explanations of why they are thrown. By the time you complete all the chapters, you will feel much more confident with Rust!
I also created a Github Repo where each module’s APIs and test cases are copied, but implementation is left out, so that you can practice writing your own implementation to check your understanding. Let me know if you want to share other excellent Rust exercises/resources!