In the interest of sparking a little discussion (not too spicy please, we’re having a nice clean start here) I thought I would ask the question. It’s something I’m legitimately wondering about as someone who has reached for tokio by default for years.

I’m aware of async-std and smol, probably unaware of others. If you’ve used or prefer a different async runtime, what trade-offs might I be interested in or what features am I missing out on?

  • huntrss@feddit.de
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Not so much relevant for production use cases but from an educational point of view: whorl is pretty great. One file that explains async runtime basics from top to bottom. The cleverness of doing this in one source code file is remarkable.

    • runiq@lemmyrs.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      That’s the first time I’ve heard of whorl, thanks! Gonna take a look with a cup of coffee and see if I can finally get my head around all of this.