First steps
Take a look at https://www.rust-lang.org/learn.
- Read the book The Rust Programming Language to get an overview and solid understanding of the language.
- Alternatively do the Rustlings course or follow Rust by Example.
- Microsoft offers a 5 hr 31 min learning path to lay the foundation of knowledge you need to build programs in Rust. It is called Take your first steps with Rust.
- You know JavaScript and want to try Rust? Then start with Rust for JavaScript peeps by yoshuawuyts.
- The Android team at Google also offers a four-day course called Comprehensive Rust.
Stay up-to-date by subscribing to the newsletter This Week in Rust. Rust releases can be tracked at https://releases.rs/.
New to Rust and still need to decide what crates to use? Look at the community Rust ecosystem guide at https://blessed.rs/crates or stdx – The missing batteries of Rust. And lastly, keep The Rust Reference close.
Lastly, look at Awesome Rust, a curated list of Rust code and resources.
Grow
- Read the practical guide Programming Rust, 2nd Edition. Experienced systems programmers will learn how to successfully bridge the gap between performance and safety using Rust.
- Read Rust Atomics and Locks by Mara Bos to gain a clear understanding of low-level concurrency. You’ll learn everything about atomics and memory ordering and how they’re combined with basic operating system APIs to build common primitives like mutexes and condition variables.
- Rust for Rustaceans by Jon Gjengset covers everything you need to build and maintain larger code bases, write powerful and flexible applications and libraries, and confidently expand the scope and complexity.
- Rust Design Patterns explores Rust’s unique blend of functional elements, strong type system, and borrow checker, differing from traditional object-oriented languages, through idioms, design patterns, and anti-patterns to guide coding practices.
- Do you wonder how to implement a linked list in Rust? Learn Rust With Entirely Too Many Linked Lists is a great read on this topic.
- Keep the cheats.rs cheat sheet close.
- The recipes from Rust Cookbook might be an easy reminder of how to accomplish common tasks.
- Dive into the Dark Arts of Unsafe Rust by reading The Rustonomicon.
Reading material
- https://jo-so.de/2021-01/Speicher-Rust.html
- https://www.possiblerust.com/guide/enum-or-trait-object
- https://tokio.rs/blog/2021-05-14-inventing-the-service-trait
- https://blog.logrocket.com/what-you-cant-do-in-rust-and-what-to-do-instead/
- https://blog.cloudflare.com/building-fast-interpreters-in-rust/
- https://www.brandons.me/blog/why-rust-strings-seem-hard
- http://www.sheshbabu.com/posts/rust-module-system/
- https://blog.nindalf.com/posts/rust-stdlib/
- https://vercel.com/blog/turborepo-migration-go-rust
- https://dropbox.tech/infrastructure/rewriting-the-heart-of-our-sync-engine
- https://www.figma.com/blog/rust-in-production-at-figma/
- https://blog.cloudflare.com/building-fast-interpreters-in-rust/
- https://discord.com/blog/why-discord-is-switching-from-go-to-rust
- https://firecracker-microvm.github.io/
- https://www.influxdata.com/blog/rust-can-be-difficult-to-learn-and-frustrating-but-its-also-the-most-exciting-thing-in-software-development-in-a-long-time/
- https://github.com/mainmatter/rust-telemetry-workshop
- https://adventures.michaelfbryan.com/posts/rust-best-practices/bad-habits/
- https://www.shuttle.rs/blog/2024/02/15/best-rust-tooling