







In this blog post, we’ll explore strategies for streamlining error handling in Rust using two popular libraries: thiserror and anyhow. We’ll discuss their features, use cases, and provide insights on when to choose each library. TL;DR thiserror simplifies the implementation of custom error type, removing boilerplates anyhow consolidates errors that implement std::error::Error While thiserror provides detailed error information for specific reactions, anyhow hides internal details Return Different Error Types from Function Let’s start by creating a function decode() for illustration. The function has 3 steps:
Why Use Structured Errors in Rust Applications?
Going against the common wisdom of “using anyhow for applications”.
The Definitive Guide to Error Handling in Rust
Learn to model and handle any error using idomatic Rust.

Error Handling in Rust vs. Exceptions in Other Languages
Error Handling in Rust vs. Exceptions in Other Languages
xymostech/XymosTeX
A re-implementation of TeX in Rust to help me understand how it works and to eventually provide a debugging interface
Ditto - Introducing Safer FFI
Introducing safer_ffi, a Rust framework that allows you to write foreign function interfaces (FFI) without polluting your Rust code with `unsafe` while improving readability.

One year of Rust | Rust Blog
Empowering everyone to build reliable and efficient software.

The Rust Programming Language - The Rust Programming Language
by Steve Klabnik, Carol Nichols, and Chris Krycho, with contributions from the Rust Community
Rust for Java developers
Introduction to the Rust programming language for java developers, (complete with code sampes) with a focus on shared concepts.

Learning Rust
Learning Rust - Rust Programming Language Tutorials for Everyone!

Rust in 2021
This is my response for this year's call for blog posts. I am writing this as a language implementor, not as a language user. I also don't try to prioritize the problems. The two things I'll mention are the things that worry me most without reflecting on the overall state of the project. They are not necessary the most important things.
Announcing Rust 1.96.1 | Rust Blog
Empowering everyone to build reliable and efficient software.

RustFest Interviews Triple Feature: Rust for AAA Game Development; Async Foundations with `async-std`; and Powerful Concurrency Primitives with `crossbeam` :: Rustacean Station
Come journey with us into the weird, wonderful, and wily world of Rust.

Announcing Rust 1.12.1 | Rust Blog
Empowering everyone to build reliable and efficient software.

A Kubernetes Operator in Rust
You can check the operator yourself here, or use it as boilerplate code to start your own rust operator. A little bit of background I’ve been writing Kubernetes operators for quite some time …
