Rust Programming: A Practical Guide to Fast, Efficient, and Safe Code with Ownership, Concurrency, and Web Programming (Rheinwerk Computing)
Author: Nouman Azam (Author)
Publisher finelybook 出版社: Rheinwerk Computing
Publication Date 出版日期: 2025-04-24
Edition 版本: New
Language 语言: English
Print Length 页数: 627 pages
ISBN-10: 1493226878
ISBN-13: 9781493226870
Book Description
Get “close to the machine” by programming with Rust! Discover how to effectively use this low-level language to create fast and efficient code. Set up Rust, compile your first program, and learn the language essentials: variables, functions, conditionals, and more. Walk through Rust’s unique ownership model and modular system, and then move on to more complex features, from flexibility and abstraction to web programming and text processing. Numerous code examples and exercises make this your go-to practical resource for Rust!
- Your hands-on guide to Rust programming
- Work with essential language elements, including variables, strings, collections, functions, structures, and traits
- Explore advanced concepts, including concurrency, testing, and sizing
Language Basics
Take your first steps with Rust! After installation and setup in Visual Studio Code, walk through the language building blocks, from variables to functions to enums. Learn how to implement ownership, define types, test your code, and more.
Intermediate Programming
Expand your toolkit for Rust programming! Write flexible code with generics and traits, incorporate features of functional programming, manage memory, implement data structures, and handle structs.
Advanced Topics
Become a Rust master! Tackle advanced topics, including sized and unsized types, concurrency via threading, the powerful macro system, web programming, text processing, and file and directory handling.
- Language basics
- Control flow
- Ownership
- Structs and enums
- Generics and traits
- Modular structure
- Memory management
- Testing
- Concurrency
- Functional programming
- Web programming
- Text processing and file handling
About the Author
Dr. Nouman Azam is an associate professor of computer science at the National University of Computer and Emerging Sciences. He also teaches online programming courses about Rust and MATLAB, and reaches a community of more than 50,000 students.
He received his PhD in computer science from the University of Regina in Canada. Prior to that, he completed his MSc in computer software engineering from the National University of Sciences and Technology, Pakistan, and his BSc in computer sciences from the National University of Computer and Emerging Sciences, Pakistan.
Dr. Azam’s research interests include game theory, rough sets, conflict analysis, and group decision making.