Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch to smol when it's ready #130

Closed
0x8f701 opened this issue May 4, 2020 · 3 comments
Closed

switch to smol when it's ready #130

0x8f701 opened this issue May 4, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@0x8f701
Copy link
Member

0x8f701 commented May 4, 2020

https://github.com/stjepang/smol is really cool.

It's another async runtime but compatible with tokio and async-std, also it's faster than async-std and tokio (I don't have a figure to prove but people tend to agree on this).

Besides we will be able to target wasm because it doesn't rely on mio.

I suggest then switch to it when it's ready and remove totally the two features:

  • async-std
  • tokio
@hackerchai
Copy link
Member

https://github.com/stjepang/smol is really cool.

It's another async runtime but compatible with tokio and async-std, also it's faster than async-std and tokio (I don't have a figure to prove but people tend to agree on this).

Besides we will be able to target wasm because it doesn't rely on mio.

I suggest then switch to it when it's ready and remove totally the two features:

  • async-std
  • tokio

Sounds really good. We can give it a try when it's ready.

@hsluoyz hsluoyz added enhancement New feature or request help wanted Extra attention is needed labels May 4, 2020
@0x8f701
Copy link
Member Author

0x8f701 commented May 7, 2020

async-std = "1.6.0-beta.1" # Async version of the Rust standard library

has been published using smol as runtime

@0x8f701
Copy link
Member Author

0x8f701 commented May 8, 2020

since async-std will use smol we will use async-std probably

@0x8f701 0x8f701 closed this as completed May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants