







Error Handling in Rust vs. Exceptions in Other Languages
The Definitive Guide to Error Handling in Rust
Learn to model and handle any error using idomatic Rust.

The simplest guide to error handling in Rust
Rust is loved for its reliability, and a good chunk of its reliability comes from its error handling ergonomics. I know that there already are a few guides about error handling in Rust, but I found these guides to be too long and not straight to the point. So here
Rust Error Handling: thiserror, anyhow, and When to Use Each
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”.
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.
Rust Programming Language
A language empowering everyone to build reliable and efficient software.

Making Rust Workers reliable: panic and abort recovery in wasm‑bindgen
Panics in Rust Workers were historically fatal, poisoning the entire instance. By collaborating upstream on the wasm‑bindgen project, Rust Workers now support resilient critical error recovery, including panic unwinding using WebAssembly Exception Handling.

Rust(lang) in Unity3D
How to use Unity’s Native Plugin interface to call fast, safe code in Rust

400 - Dealing with cancel safety in async Rust | RFD | Oxide
While developing the control plane, we’ve found that one of the bigger practical issues has been async cancel correctness: the relatively unpredictable way an async Rust system can behave if futures are dropped [rfd397]. Cancellation is an example of "spooky action at a distance", and having to think about it imposes a significant cognitive burden on authors and reviewers of asynchronous code. Both of these are quite uncharacteristic of Rust.
One year of Rust | Rust Blog
Empowering everyone to build reliable and efficient software.

How Rust Finally Got a Specification - Thanks to a Consultancy's Open-Source Donation - Slashdot
As Rust approaches its 10th anniversary, "there is an important piece of documentation missing that many other languages provide," notes the Rust Foundation. While there's documentation and tutorials — there's no official language specification: In December 2022, an RFC was submitted to enco...

2 steps to better API Error Codes
One of the biggest difficulties developers can have when writing code that talks with an API is dealing with errors and exceptions, and translating those errors into something meaningful for their applications.
What Rust Brings to Frontend and Web Development
Rust offers a safer, more secure language that's robust enough for application development. Here's what can it do for the frontend and web. #Rust #developers #programmers #webdevelopment

Rust for Java developers
Introduction to the Rust programming language for java developers, (complete with code sampes) with a focus on shared concepts.
