- Published on
Training your Rust skills with OpenRustlings
OpenRustlings: Rust Practices with Rustlings
OpenRustlings is a project that contains small exercises designed to help you become comfortable with reading and writing Rust code. These exercises cover various aspects of Rust, including handling compiler messages. Itβs highly recommended to work on Rustlings alongside reading the official Rust book, which is the most comprehensive resource for learning Rust. π
Curriculum
Chapter Index | Chapter Name | Assignments |
---|---|---|
Chapter 01 | Introduction and Variables | 6 exercises |
Chapter 02 | Functions | 5 exercises |
Chapter 03 | If | 3 exercises, 1 quizz |
Chapter 04 | Primitive Types | 6 exercises |
Chapter 05 | Vector | 2 exercises |
Chapter 06 | Move semantics | 6 exercises |
Chapter 07 | Struct | 3 exercises |
Chapter 08 | Enum | 3 exercises |
Chapter 09 | String | 4 exercises |
Chapter 10 | Module | 3 exercises |
Chapter 11 | HashMap | 3 exercises |
Chapter 12 | Option | 3 exercises |
Chapter 13 | Error Handling | 6 exercises |
Chapter 14 | Generic Typing | 2 exercises |
Chapter 15 | Trait | 5 exercises |
Chapter 16 | Lifetime | 3 exercises |
Chapter 17 | Test | 4 exercises |
Chapter 18 | Iterator | 5 exercises |
Chapter 19 | Smart Pointer | 4 exercises |
Chapter 20 | Thread | 3 exercises |
Chapter 21 | Macro | 4 exercises |
Rust Resources list
Resources Covering Basic Concepts of the Language
Rust Programming Language
Online Link: https://doc.rust-lang.org/book/
Description: Official rust programming language book. Recommended book for those who are new to rust.Rust by Example
Online Link: https://doc.rust-lang.org/rust-by-example/print.html
Description: A recommended book for those who want to quickly learn through examples with lesser focus on theoryRust Cookbook
Online Link: https://rust-lang-nursery.github.io/rust-cookbook/print.html
Description: Useful Examples for accomplishing common programming tasks.Easy Rust
Online Link: https://dhghomon.github.io/easy_rust/
Description: A text book for those who are not native speakers and want to learn with simple and easy to follow English.Rust Reference
Online Link: https://doc.rust-lang.org/reference/introduction.html
Description: A good reference book for the languageRust CheatSheet
Online Link: https://zerotomastery.io/cheatsheets/rust-cheat-sheet/
Description: Quick reference guide and handy reference for programming in rust.
Resources Covering Advance Concepts of the Language
Comprehensive Rust
Online Link: https://google.github.io/comprehensive-rust/
Description: A recommended book for those who are coming from C++/JAVA background and want to develop for AndroidThe Rust Performance Book
Online Link: https://nnethercote.github.io/perf-book/introduction.html
Description: The book contains techniques that can improve the performance, speed, and memory usageThe Rustonomicon
Online Link: https://doc.rust-lang.org/nomicon/intro.html
Description: It contains many examples and codes that explain the details when writing unsafe Rust programs.Learn Rust with Entirely Too Many Linked Lists
Online Link: https://rust-unofficial.github.io/too-many-lists/
Description: Basics of linked lists and different types of smart pointers in Rust.Rust Programming Tips
Online Link: https://github.com/ferrous-systems/elements-of-rust/blob/master/README.md
Description: Useful programming examples and tips for effective rust programming.
Documentation of the Language
Standard Library
Online Link: https://doc.rust-lang.org/std/index.html
Description: Comprehensive guide to the Rust standard library APIs.Edition Guide
Online Link: https://doc.rust-lang.org/edition-guide/index.html
Description: For understanding Rust's way of introducing changes into the languageCargo Book
Online Link: https://doc.rust-lang.org/cargo/index.html
Description: For understanding the package manager of Rust.Compiler Error Index
Online Link: https://doc.rust-lang.org/error_codes/error-index.html
Description: Listing of all the errors emitted by the compilerRustdoc Book
Online Link: https://doc.rust-lang.org/rustdoc/index.html
Description: Understanding the generation of documentation for your code