/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

www.shuttle.dev
| | 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
2.1 parsecs

Travel
| |
| | www.shuttle.rs

Patterns to use types for better safety and design
0.7 parsecs

Travel
| |
| | articles.bchlr.de

[AI summary] The article discusses challenges and workarounds for upcasting trait objects in Rust, exploring the limitations of dynamic dispatch and potential solutions through vtable structures and custom trait implementations.
2.1 parsecs

Travel
| |
| | blog.yoshuawuyts.com

[AI summary] The article explores the capabilities and benefits of async Rust, emphasizing its unique features such as concurrency, cancellation, and control over execution. It discusses how async Rust separates concurrency from parallelism, enabling finer control and optimization, especially for latency-oriented workloads. The text also highlights the importance of the ecosystem, noting that many network-related libraries use async Rust, which influences the choice of libraries for developers. The conclusion reinforces that async Rust provides essential tools for managing execution and concurrency that are not available in non-async environments, making it a preferred choice for certain applications.
21.1 parsecs

Travel
|