-
Book Overview & Buying
-
Table Of Contents
The Rust Programming Handbook
By :
Welcome to the realm of Rust programming!
If you’ve found your way here, you’re probably intrigued by Rust’s reputation as a robust, contemporary language specialized in systems programming, focusing on safety, speed, and reliability.
This book is for anyone who wants to learn Rust, from experienced developers looking to expand their skills to beginners exploring new technologies or those who are just curious. In the Stack Overflow 2024 Developer Survey, Rust was voted the “most admired programming language” by ~83% of developers. This is because it offers a rare combination of performance, memory safety, and a strong, welcoming community. It eliminates entire classes of bugs, such as null pointer dereferences and data races, while delivering the speed of a systems language. Learning Rust is a great way to write safer, more efficient code and future-proof your skills.
In this chapter, we start our journey by understanding the essence of Rust programming. We’ll dive deep into the core principles defining Rust and explain why it shines among other programming languages. Rust has some unique features that really make it “special” among other languages. Following that, we’ll set up your development environment together, ensuring you’re fully equipped to dive into Rust coding right away. Finally, we’ll start with the practical side of Rust by walking you through creating your first Rust program. To make it accessible to everyone, we will begin with a simple CLI tool, ensuring you grasp Rust’s fundamental concepts before moving to more advanced projects such as a web server. This structured approach will help you build confidence in Rust step by step.
By the end of this chapter, you’ll have a solid understanding of what makes Rust unique and why so many developers appreciate it. You’ll get familiar with its core principles and how it differs from other programming languages. This foundation will give you the confidence to start exploring Rust and writing your first programs.
Let’s get started!