Rust Articles, Tutorials & News

An Alternative Syntax for Async Functions in Rust

After thinking about the async fn in traits problem for a while, I’ve come to the conclusion that the syntax Rust chose for async fn is the wrong one. Specifically, the fact that the returned future type is hidden is quite limiting. Here’s how we can fix …

Read more »

Rust 2021 Celebration and Thanks

The beta version of Rust 1.56 is about to branch off, which includes a stable rustc –edition=2021! This means that, other than backports, all new development goes into 1.57, and the first version …

Read more »