by John Arundel · 2025
ISBN: Unavailable
Category: Computers / Programming / General
Page count: 241
<p>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.</p><p>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?</p><p>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.</p><p>By reading through this book and completing the exercises, you'll learn:</p><p>How to build reusable crates instead of one-off programs</p><p>How to design user-friendly APIs, without annoying paperwork</p><p>How to write robust, testable tools that take command-line flags and arguments</p><p>How to detect, manage, and present run-time errors</p><p>How to design Rust crates that work with files and other kinds of binary data</p><p>How to encode and decode data in binary format, and translate Rust data to and from JSON</p><p>How to create robust, reusable client packages for HTTP services and other APIs</p><p>How to launch external commands and capture their output, how to parse arguments and subcommands, and how to add new features to the Cargo tool</p><p>How to write useful, informative, and high-quality automated unit tests and integration tests</p><p><br></p>