-
Book Overview & Buying
-
Table Of Contents
Learn to Code with Rust
By :
Learn to Code with Rust
By:
Overview of this book
This course provides a comprehensive journey for mastering Rust, catering to both beginners and intermediate learners. It starts with guiding you through the setup process for macOS and Windows, ensuring you have the essential tools like Visual Studio Code, Cargo, and the Rust compiler installed. After laying a solid foundation, you'll dive into Rust's core concepts, including variables, data types, functions, and control flow.
As you progress, you'll gain expertise in Rust's unique features like ownership, borrowing, and references, ensuring memory safety without a garbage collector. The course covers more advanced topics such as structs, enums, and generics, empowering you to write modular, reusable code. You'll also explore Rust's standard library, along with tools like the rand crate for randomness and Chrono for date-time handling. With practical projects and real-world examples, you'll develop confidence in using Rust to tackle real problems.
The course concludes by focusing on error handling, testing, and code optimization. You'll master Rust’s error handling, implement unit and integration tests, and learn to optimize your code, preparing you for building everything from simple utilities to complex systems.
Table of Contents (27 chapters)
Getting Started
Variables and Mutability
Data Types
Functions
Control Flow
Ownership
References and Borrowing
Slices
Structs
Enums
Generics
Option and Result Enums
Vectors
Project Structure
Strings
HashMaps
Error Handling
Traits
Lifetimes
Closures
Iterators
Testing
Randomness with rand Crate
Datetimes with Chrono Crate
Regular Expressions with Regex Crate
Smart Pointers: Box
Congratulations!