Are we async yet?

🎉 Yes! 🎉

The long-awaited async / await syntax has been stabilized in Rust 1.39.

You can use it with the active ecosystem of asynchronous I/O around futures, mio, tokio, and async-std.

async syntax and blockers

Future extensions

`async fn` in trait method not stabilized yet Workaround is available as an attribute macro: `async-trait` Generic associated types (GAT) not stabilized yet / RFC 1598 / #44265 Named existentials and impl Trait variable declarations not stabilized yet / RFC 2071 / #63066

Async iterators or stream unresolved

Async closures not stabilized yet / RFC 2394

async ecosystem

tokio - An event-driven, non-blocking I/O platform for writing asynchronous applications. It has async / await support starting from 0.2.0-alpha.1 #1201

/ support starting from 0.2.0-alpha.1 #1201 async-std - Async version of the Rust standard library. It provides all the interfaces you are used to, but in an async version and designed for Rust's async / await syntax.

/ syntax. actix - A actors framework providing higher-level abstraction for tokio.

thin_main_loop - An experimental, cross platform, main loop and futures executor/reactor, that binds to the OS APIs suitable for making native GUI applications. It supports callbacks as well as the async / await syntax.

/ syntax. async-task - Task abstraction for building executors.

Posts about async

Generated at Wed, 16 Sep 2020 19:19:27 +0000