Explore >> Select a destination


You are here

rust-lang.github.io
| | www.ncameron.org
3.5 parsecs away

Travel
| | 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
| | blog.yoshuawuyts.com
3.5 parsecs away

Travel
| | [AI summary] The author recaps developments in Rust futures concurrency since 2020, proposing ergonomic trait-based APIs for joining and racing futures and outlining a path to forward-compatible inclusion in the standard library.
| | jmmv.dev
2.5 parsecs away

Travel
| | Dependency injection is one of my favorite design patterns to develop highly-testable and modular code. Unfortunately, applying this pattern by taking Rust traits as arguments to public functions has unintended consequences on the visibility of private symbols. If you are not careful, most of your crate-internal APIs might need to become public just because you needed to parameterize a function with a trait. Let's look at why this happens and what we can do about it.
| | dehora.net
23.9 parsecs away

Travel
| Back in 2013, I started a series of posts on programming languages I found interesting. One of the languages I wanted to write about at that time was Rust. As often happens, life got in the way, and it's only now that I'm coming round to a long overdue post. This is one of a series of posts on programming languages and you can read more about thathere.