Explore >> Select a destination


You are here

without.boats
| | www.ncameron.org
14.4 parsecs away

Travel
| | Completion-model IO systems don't work naturally with the Read trait. In this post I want to explore why that is and some alternatives. Many of the issues are related to cancellation, and there is some discussion ongoing around whether we can change or amend the cancellation mechanisms in async Rust,
| | blog.yoshuawuyts.com
11.8 parsecs away

Travel
| |
| | tmandry.gitlab.io
10.3 parsecs away

Travel
| | For just about as long as I've been working on async Rust, the topic of scoped tasks has come up. These areasync tasks that borrow from their environment, and they would come in handy in a lot of situations. Last year the standard library stabilized thread::scope which allows synchronous threads to do this. You could imagine a similar API, but with async: asyncfn fanout(data: &Vec){task::scope(|s|{// Spawn subtasks to run in parallel.
| | www.ncameron.org
98.8 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