45
you are viewing a single comment's thread
view the rest of the comments
[-] d_k_bo@feddit.de 13 points 2 years ago

I think the best part about smol is its composability.

Unlike tokio which consists of one large integrated library, smol provides many smaller, mostly runtime-agnostic crates e. g. blocking to run blocking I/O on a thread pool or async-lock for async lock primitives.

[-] anlumo@feddit.de 2 points 2 years ago

Tokio handles that through feature flags.

this post was submitted on 22 Sep 2023
45 points (97.9% liked)

Rust

7769 readers
7 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS