Название: Ultimate Rust for Systems Programming: Master Core Programming for Architecting Secure and Reliable Software Systems with Rust and WebAssembly Автор: Mahmoud Harmouch Издательство: Orange Education Pvt Ltd, AVA Год: 2024 Страниц: 672 Язык: английский Формат: epub (true) Размер: 10.1 MB
Building Tomorrow's Systems Today the Rust Way.
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.
By the end of this journey, you'll have a solid understanding of Rust and how it can be applied in system programming, making you well-equipped for real-world applications.
This book contains 15 chapters, guiding you through the world of Rust in a step-by-step way: • Chapters 1 and 2 guide you in getting to know Rust, setting up your workspace, and learning the basics, including how Rust manages memory and checks for borrowing issues. • Chapters 3 and 4 dive into more advanced topics like traits, generics, and dealing with different types of collections. • Chapter 5 focuses on handling errors effectively and creating your own error types. • Chapters 6 and 7 delve into managing memory, using smart pointers, and understanding concurrency. • Chapter 8 provides a practical experience by guiding you through building a command-line utility. • Chapter 9 focuses on input/output operations and using Rust to work with hardware devices. • Chapters 10 and 11 concentrate on iterators, closures, and the importance of unit testing. • Chapter 12 introduces network programming with a focus on TCP and UDP communication. • Chapter 13 delves into the concept of unsafe coding in Rust. • Chapter 14 emphasizes asynchronous programming using Rust's async/await and the Tokio library. • Chapter 15 helps to understand the basics and advantages of WebAssembly and how to set up Rust for WebAssembly development.
Скачать Ultimate Rust for Systems Programming: Master Core Programming for Architecting Secure and Reliable Software Systems
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.