Rust Programming in easy steps introduces all the features of the Rust programming language, using worked example programs. Rust is still an immature language and sees a major release every six years. Rust 2024 is expected to be released in February 2025, and is the version of the language that this book will deal with. The language differences are slight. Of greater concern is the library of crates that support more advanced features. Many of these are either not in place or not stable enough to be relied on. In particular, no one crate has emerged that provides a desktop GUI interface.
Rust Programming in easy steps is a practical, no-nonsense guide to Rust for developers who want to write fast, modern systems code. Start by installing and configuring Rust and VSCode, then work through the working examples. Use free, downloadable code to get started now. Covers:
Rust’s fundamental principles.Structuring data effectively and controlling program flow. Collections and modules. The file structure of a project. Implementing behaviors using traits. Closures and iterators, and real-world programs. Applying smart pointers and harnessing concurrency. Focuses on clarity and correctness, making it ideal for practicing programmers who want to adopt Rust with confidence. Your first step to becoming a Rust guru!
Covers Rust 2024, which was released in February 2025.
Inhaltsverzeichnis
- Introduction
- Fundamental principles
- Saying hello
- Structuring data
- Control flow
- Collections & modules
- File structure of a project
- Implementations
- Closures and iterators
- Real-world programs
- Smart pointers and concurrency
- Advanced topics