Skip to content
This repository has been archived by the owner on Nov 15, 2019. It is now read-only.

Is moving to futures and async/await being considered? #1160

Open
dlight opened this issue Oct 24, 2019 · 0 comments
Open

Is moving to futures and async/await being considered? #1160

dlight opened this issue Oct 24, 2019 · 0 comments

Comments

@dlight
Copy link

dlight commented Oct 24, 2019

I note that crust depends on mio directly and doesn't use futures, which is a solid choice for a project that started many years ago (when futures in its present form didn't exist, and there were multiple competing async frameworks that were eventually abandoned).

Now that async/await is hitting stable (in 1.39), I was wondering if there were any plans to use it. Benefits would include better integration with other runtimes, leveraging executors with work-stealing threadpools like tokio, and easier to write state machines with async/await.

What do you think?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant