This chapter covers:
- Introducing Rust’s features and goals
- Exposing Rust’s syntax
- Discussing where to use Rust and when to avoid it
- Building your first Rust program
- Explaining how Rust compares to object-oriented and wider languages
Welcome to Rust—the empowering programming language. Once you scratch its surface, you will not only find a programming language with unparalleled speed and safety, but one that is still comfortable to use. Your investment in learning Rust will be rewarded!
When you begin to program in Rust, it’s likely that you will want to continue to do so. And this book, Rust in Action, will build your confidence as a Rust programmer. But, it will not teach you how to program from the beginning. This book is intended to be read by people who are considering Rust as their next language, and for those who enjoy implementing practical working examples. Here is a list of some of the larger examples this book covers:
- Mandelbrot set renderer
- A grep clone
- CPU emulator
- Generative art
- A database
- HTTP, NTP, and hexdump clients
- LOGO language interpreter
- Operating system kernel