
Rust In Practice
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
Learn to Build Rust Programs, Test Applications and Create Your Own Cargo Packages in Rust
Rust In Practice is an ultimate fast-paced guide for anyone looking to become a practitioner of the rust programming from day 1. This book covers everything from the basics of Rust programming to building robust and efficient applications. Starting with the fundamentals, this book guides you through the syntax and semantics of the Rust language, including its unique ownership model and type system. You'll learn about common data types, control flow, error handling, and more.
As you progress through the book, you'll dive deeper into advanced topics such as building programs, rust libraries and crates, using the standard library, and working with external crates. You'll also learn how to write concurrent and parallel code, take advantage of Rust's built-in testing features, and use popular Rust frameworks and libraries.
The book also provides hands-on examples and exercises to help you practice and apply the concepts you've learned. By the end of this book, you'll have a solid understanding of Rust programming and be well-equipped to start building your own robust and efficient applications. With clear explanations, practical examples, and expert advice, this book will help you get an edge on Rust programming and become proficient in building and testing Rust applications, right from day one.
Key Learnings
- Get well versed with cargo, different cargo commands
- Understanding data types, ownership, and borrowing
- Write flexible, efficient code with traits and generics
- Make use of closures, iterators, and asynchronous programming to write multi-threaded programs
- Utilizing collections, strings, text, input and output, macros, and avoiding unsafe codes
- Run code testing on different types of rust programs and applications
- 50+ examples covered to demonstrate every feature and functionality of rust
Table of Contents
- Understanding Why Rust!
- Getting Ready with Rust Environment
- Most Essentials of Rust
- Structs
- Enums and Pattern Matching
- Exploring Ownership and Borrowing
- Cargo, Crates and Packages
- Cargo Commands
- Using Rust Standard Library
- My First Command Line App (CLI)
- Code Testing of Applications
- Smart Pointers and Reference Cycles
Audience
This book is for both, newbies and programmers who wants a combined knowledge of concepts and practical guidance of using Rust in developing programs and applications. This book is written by a team of Rust professionals with an intent to contribute and return back to both industry and academic research communities.
More details
Other editions
New editions

Content
- Understanding Why Rust!
- Getting Ready with Rust Environment
- Most Essentials of Rust
- Structs
- Enums and Pattern Matching
- Exploring Ownership and Borrowing
- Cargo, Crates and Packages
- Cargo Commands
- Using Rust Standard Library
- My First Command Line App (CLI)
- Code Testing of Applications
- Smart Pointers and Reference Cycles
System requirements
File format: ePUB
Copy protection: Watermark-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Use a reading software that can process the file format ePUB: e.g., Adobe Digital Editions or FBReader – both free (see eBook Help).
- Tablet/Smartphone (Android; iOS): Before downloading, install the free app Adobe Digital Editions (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 Watermark-DRM, a „soft” copy protection. This means that there are no technical restrictions to prevent illegal distribution. However, there is a personalised watermark embedded in the eBook that can be used to identify the purchaser of the eBook in the event of misuse and to provide evidence for legal purposes.
For more information, see our eBook Help page.