Learn Rust in a Month of Lunches
By Dave MacLeod
Language: English
Category: Ebook - Computer/Internet
Categories: Computer/Internet
Uploader:
Uploaded At: 2025-05-19 20:54:08
Computer Science, Rust, Programming, Lanugage, 2024
Description
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 to write super fast and super safe Rust code through lessons you can fit in your lunch break. Crystal-clear explanations and focused, relevant examples make it accessible to anyone—even if you’re learning Rust as your first programming language.
Learn how to create fast powerful programs in Rust in just 24 short lessons! Rust gives you modern features like a top-notch compiler, a rich ecosystem of pre-built libraries, and the same low-level performance you get with a language like C, but without the awkward syntax, complex memory management, and code safety concerns. This book guides you step by step from your first line of code.
About the book
Learn Rust in a Month of Lunches breaks down the Rust language into concise hands-on lessons designed to be completed in an hour or less. The examples are fun and easy to follow, so you’ll quickly progress from zero Rust knowledge to handling async and writing your own macros. You won’t even need to install Rust—the book’s code samples run in the browser-based Rust Playground. There’s no easier way to get started! What's inside Build working Rust software Understand messages from the compiler and Clippy Use external Rust “crates” (libraries) for common tasks Explore test driven development in Rust About the reader No previous experience with Rust required. About the author Dave MacLeod was an educator, Korean-English translator, project controller, and copywriter before becoming a full-time Rust developer. The technical editor on this book was Jerry Kuch.
Table of Contents
- Some basics
- Memory, variables, and ownership
- More complex types
- Building your own types
- Generics, option, and result
- More collections, more error handling
- Traits: Making different types do the same thing
- Iterators and closures
- Iterators and closures again!
- Lifetimes and interior mutability
- Multiple threads and a lot more
- More on closures, generics, and threads
- Box and Rust documentation
- Testing and building your code from tests
- Default, the builder pattern, and Deref
- Const, “unsafe” Rust, and external crates
- Rust’s most popular crates
- Rust on your computer
- More crates and async Rust
- A tour of the standard library
- Continuing the tour
- Writing your own macros
- Unfinished projects: Projects for you to finish
- Unfinished projects, continued
Other Torrents
by Dave MacLeod
Programming, Computer Science, Languages, Rust
m4a | AAC | 118k VBR | 0:46:19 | 1 comment
Computer/Internet
555 MiB
0
110