Whither the weather? In another extract from the not-yet-award-winning book The Secrets of Rust: Tools, let’s write a simple API client that can tell us if it’s sweater or swimsuit season.
All tagged the secrets of rust tools
Whither the weather? In another extract from the not-yet-award-winning book The Secrets of Rust: Tools, let’s write a simple API client that can tell us if it’s sweater or swimsuit season.
Durable software not only handles errors, it presents them to users in a helpful and meaningful way. Let’s put the finishing touches to our line-counting program by completing the user interface.
The night is dark and full of errors—and durable Rust software is not only ready for them, but handles them sensibly. Let’s see how, by returning to our line-counter project.
The secret of being a great coder is to write terrible code. Wait, wait. Hear me out: I’m going somewhere with this.
How do you design user-friendly APIs in Rust? The answer is easy: you use them! Let’s build a simple Rust CLI tool using what I call the “magic function” approach.
Which is a better choice, Rust or Go? Which language should you choose for your next project, and why? How do the two compare in areas like performance, simplicity, safety, features, scale, and concurrency?
Alex Pliutau and I discuss what Go programmers should know about Rust, and why the two languages make perfect partners.
There are many Rust books, but these are my favourites—and I think you’ll like them too. Here are my reviews of what I think are the truly essential Rust books available today.
The night is dark and full of errors, so how should we handle these gracefully and safely in our Rust programs? Let’s introduce two of every Rust programmer’s favourite types: Option and Result.