· Rust’s fundamental principles.
· Structuring data effectively and controlling program flow.
· Collections and modules.
· The file structure of a project.
· Implementing behaviors using traits.
· Closures and iterators, and real-world programs.
· Applying smart pointers and harnessing concurrency.
Focuses on clarity and correctness, making it ideal for practicing programmers who want to adopt Rust with confidence. Your first step to becoming a Rust guru!
Covers Rust 2024, which was released in February 2025.
Table of Contents
1. Introduction
2. Fundamental principles
3. Saying hello
4. Structuring data
5. Control flow
6. Collections & modules
7. File structure of a project
8. Implementations
9. Closures and iterators
10. Real-world programs
11. Smart pointers and concurrency
12. Advanced topics
Richard Urwin has been a software engineer all his working life, specialising in embedded control systems. He enjoys roleplaying games, science-fiction and hill-walking, although these days he wishes the hills were flatter. He wrote his first Artificial Intelligence program in 1975 and has retained an interest in the field ever since.