The Secrets of Rust: Tools (early access edition)

The Secrets of Rust: Tools (early access edition)

$39.95

Are you ready to unlock the secrets of Rust? Master the world's most loved programming language with this cheerful and encouraging book for beginners and improvers, and learn how to craft stable, reliable, and durable software for this century and the next. Includes free updates for life.

This is the Early Access edition, and so far seven out of eight chapters have been released. Your update to the full book will be free, so get a head start on the competition and start learning the secrets of Rust!

Reviews

⭐⭐⭐⭐⭐ “I've tried to learn Rust before, but bounced off it somehow. This book unlocked something for me, and now I have a better understanding of just what makes Rust so different.”
—Lawrence Denning

⭐⭐⭐⭐⭐ “I can't praise this book enough. It's opened my eyes to a whole new way of programming.”
—Jawahir Sheikh

⭐⭐⭐⭐⭐ “Gentle, funny, and full of clear explanations—one of the best introductory Rust books I've read.”
—Flavio Balioni

⭐⭐⭐⭐⭐ “I really enjoy the project-based style—it helps to clarify how Rust's features actually come together into real programs.”
—Nick Chandler

About the book

This friendly, supportive, yet challenging book will show you how master software engineers think, and guide you through the process of designing production-ready command-line tools in Rust, step by step.

This book is aimed at those who have a little experience with Rust (or even a lot), and would now like to learn how to build good software with it. What is “good” software anyway? What would it look like in Rust? And how do we get there from here?

Rust is now being used increasingly in critical software, and what I mean by that is high stakes: life and livelihood on the line. It could be life-saving medical equipment, it could be lynchpin financial services, urgent countermeasures in war zones, low-margin control systems like nuclear reactors, space shuttles, or even cars.

This is where we want Rust to be, because we think Rust has unique properties that make it the right tool for doing this successfully.

—Jon Gjengset

If you want to learn why Rust consistently tops polls of the most admired languages, and why its popularity is rising fast among those who want to build safe, reliable, and high-performance software, this is the book for you. You'll master a guided-by-tests workflow for designing user-friendly APIs and building libraries of trusted, stable, high-quality software components suitable for critical applications.

You can play the book on three difficulty levels:

  1. Easy: just follow along as we develop the solutions to each challenge; they’re explained line by line and step by step, so even if you have practically no Rust experience, you should still be able to follow everything just fine.

  2. Medium: you can attempt each challenge yourself, but get hints and guidance on the right way to solve the problem, before reading on to see the suggested solution.

  3. Hard: tackle the challenges without reading the hints, and use your own initiative to figure out what to do. You can still look at the hints if you get stuck, but the more you can do on your own, the more it’ll build your confidence as a Rust programmer.

What you’ll learn

By reading through this book and completing the exercises, you'll learn:

  • How to build reusable crates instead of one-off programs

  • How to design user-friendly APIs, without annoying paperwork

  • How to write robust, testable tools that take command-line flags and arguments

  • How to design Rust crates that work with files and other kinds of binary data

  • How to encode and decode data in binary format, and translate Rust data to and from JSON

  • How to create robust, reusable client packages for HTTP services and other APIs

What you get

Your digital download is a ZIP file containing the book in PDF and ePub formats. These should be suitable for any ebook reader, Kindle, computer, phone, or tablet.

Table of contents

Read a sample chapter

Updating to the latest edition

All my books come with free updates for life, so if you’ve bought a previous version of this book, here’s what you need to do to get the latest edition. Click the link in your original download email (make sure you save this, as it’s your key to future updates). You’ll see what looks like an error page saying your download link for the old edition has expired, but that’s okay: click the link in the text, and you’ll be sent a new download email for the current edition.

Add To Cart