About Ultimate Rust for Systems Programming
Building Tomorrow's Systems Today the Rust Way
Book Description
This book is your guide to mastering Rust programming, equipping you with essential skills and insights for efficient system programming. It starts by introducing Rust's significance in the system programming domain and highlighting its advantages over traditional languages like C/C++. You'll then embark on a practical journey, setting up Rust on various platforms and configuring the development environment. From writing your first "Hello, World!" program to harness the power of Rust's package manager, Cargo, the book ensures a smooth initiation into the language.
Delving deeper, the book covers foundational concepts, including variables, data types, control flow, functions, closures, and crucial memory management aspects like ownership, borrowing, and lifetimes. Special attention is given to Rust's strict memory safety guarantees, guiding you in writing secure code with the assistance of the borrow checker.
The book extends its reach to Rust collections, error-handling techniques, and the complexities of concurrency management. From threads and synchronization primitives like Mutex and RwLock to asynchronous programming with async/await and the Tokio library, you'll gain a comprehensive understanding of Rust's capabilities. This book covers it all.
Table of Contents
1. Systems Programming with Rust
2. Basics of Rust
3. Traits and Generics
4. Rust Built-In Data Structures
5. Error Handling and Recovery
6. Memory Management and Pointers
7. Managing Concurrency
8. Command Line Programs
9. Working with Devices I/O in Rust
10. Iterators and Closures
11. Unit Testing in Rust
12. Network Programming
13. Unsafe Coding in Rust
14. Asynchronous Programming
15. Web Assembly with Rust
Index
Show more