/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

aturon.github.io
| | theincredibleholk.org

As 2022 draws to a close, I want to take a moment to look at where we are with supporting async functions in dyn traits (AFIDT) and suggest some ideas for how t
3.2 parsecs

Travel
| |
| | purplesyringa.moe

A few days ago, I stumbled upon a Hacker News discussion about the expression problem - a conundrum that occasionally arises in software design. Some of the commenters noted that Rust completely avoids this problem thanks to trait objects, and initially I agreed with them, but I'm now realizing it's not at all as straightforward as it looks. The goal of this post is to explain what the expression problem is, how Rust seemingly avoids it, why this solution doesn't actually work, and what a Rusty solution might look like.
4.2 parsecs

Travel
| |
| | www.ncameron.org

One of the more subtle aspects of Rust is how traits can be used as types. In this blog post I will attempt a bit of a deep dive into how to use traits as types and how to choose between the different forms. Preliminary: traits are not typesA type
1.8 parsecs

Travel
| |
| | manishearth.github.io

This post is now a part of the official rust book In my previous post I talked a bit about why the RWlock pattern is important for accessing data, ...
15.2 parsecs

Travel
|