Announcing Runtime

#1

The Async Ecosystem WG has been working on a new crate that makes writing async Rust programs easier. It’s called Runtime, and we’ve published it today!

We’re really excited about this, and would love for people to try it out. You can read about it here.

Example

async fn say_hi() {
    println!("Hello world! 🤖");
}

#[runtime::main]
async fn main() {
    await!(say_hi());
}

Refs

21 Likes

#2

Well, I guess the saying that Rust has no runtime isn’t true anymore. :wink:

More seriously, nice work! The vision is promising and makes me hopeful about the future of Rust async.

8 Likes