One month. One hour a day. That’s all it takes to start writing Rust code!
Learn Rust in a Month of Lunches teaches you the essential skills of Rust. By the time you’re done learning, you’ll be able to:
Build real software in Rust
Understand messages from the compiler and Clippy, Rust’s coding coach
Make informed decisions on the right types to use in any context
Make sense of the Rust standard library and its commonly used items
Use external Rust “crates” (libraries) for common tasks
Work with crates that use async Rust
Write simple declarative macros
Explore test driven development in Rust
Learn Rust in a Month of Lunches teaches you to write super fast and super safe Rust code in just 22 short lessons. Crystal-clear explanations and focused, relevant examples make it accessible to anyone with a beginning understanding of another programming language. You’ll go from the absolute basics all the way through to handling async Rust and writing your own macros.
about the technology
Developers love Rust! Rust is a true general purpose language, suitable for everything from system programming to web applications and games. It delivers the performance of low-level languages like C/C++ while providing memory safety, type safety, and a compiler that makes it difficult to compile bad code. Plus, Rust makes it easy to refactor your code without worrying about breaking anything. It’s a truly hassle-free programming experience.
about the book
Learn Rust in a Month of Lunches is a fast and friendly guide to Rust proficiency. Each lesson introduces a new feature of the language, from working with types to making sense of the Rust standard library. The book's examples are easy and fun to follow—such as explaining traits using role-playing game characters. Best of all, almost all code samples run in the browser-based Rust Playground. No need to install Rust to get started on a lesson!
about the reader
For both new and experienced programmers. No previous experience with Rust required.
about the author
Dave MacLeod has worked as an educator, Korean-English translator, project controller, and copywriter before becoming a full-time Rust developer.