Hacker News new | past | comments | ask | show | jobs | submit login

There are no plans to incorporate a big async runtime like tokio. This does not matches Rust's vision of small, well-focused std.

There are possible plans to implement a minimal runtime that only allows you to execute futures. No I/O or such. Mainly for tests or examples. No timeline though, at least as far as I'm aware.

There are also plans to standardize the async traits, e.g. spawn a new task, AsyncRead and AsyncWrite etc.. I don't think there is a timeline, but they wait at least for async fn in traits.




> I don't think there is a timeline, but they wait at least for async fn in traits.

That was just merged! [1] It should be stable in 1.75 on December 28th.

[1] https://github.com/rust-lang/rust/pull/115822


I know it was merged, but currently there is only support for statically-dispatched async fn in traits. I believe we also need dynamic dispatch to compete with the current style of `poll_X()` functions in the I/O traits.


Fair enough. I'm still excited!




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: