
Mastering Rust Programming: A Complete Guide for Building Reliable and Fast Software
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
Master the Most Loved Language and Build Blazing-Fast, Reliable Software
For decades, programmers faced a painful choice: the raw speed of C/C++ (with the risk of memory bugs and security flaws) or the safety of languages like Java and Python (with the cost of a garbage collector). Rust solves this dilemma.
Rust delivers C-level performance, fearless concurrency, and guaranteed memory safety, all verified at compile time. While consistently ranked as the "most loved" language, its famously steep learning curve can be intimidating.
Mastering Rust Programming is your complete, project-based guide to conquering that curve. This book is a practical journey designed to take you from your first fn main() to building high-performance, production-ready applications. It focuses on helping you internalize a new, powerful way of thinking about software.
You will not just learn the syntax; you will master the "why" behind Rust's most powerful features.
Inside, you will learn to:
- Grasp the Core of Rust: Build a deep, intuitive understanding of the Ownership and Borrowing system, the heart of Rust's safety guarantees.
- Model Data Effectively: Use Rust's powerful Enums, Structs, and Pattern Matching to create expressive, type-safe data models.
- Write Reusable Code: Master high-level abstractions with Traits and Generics to write flexible, zero-cost abstractions.
- Handle Errors Robustly: Learn to use Result and Option to manage recoverable errors and write code that is reliable by default.
- Write Fearless Concurrent Code: Confidently build multi-threaded and asynchronous programs using Arc, Mutex, and the async/await syntax.
- Manage Your Project: Organize large codebases with modules, packages, and crates, and learn to write comprehensive tests.
Build Two Real-World Capstone Projects:
This book is not just theory. You will apply your skills by building two professional-grade projects from scratch:
- A High-Performance CLI Tool: Build an rgrep clone that searches files, complete with argument parsing and efficient file I/O.
- A Concurrent Backend Web Service: Build a todo_api using the Axum framework, connecting to a PostgreSQL database with compile-time-checked SQLx queries.
This book is the ideal guide for C and C++ developers seeking memory safety without sacrificing performance, or for Python, Java, and JavaScript developers who want to add a powerful, high-performance language to their toolkit.
If you are ready to master the future of systems programming, this guide is your path from beginner to confident Rustacean.
More details
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.