How does async Rust work

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • book

    The Rust Programming Language

  • Covering async in The Book wasn't explicitly decided against, this is the relevant issue: https://github.com/rust-lang/book/issues/1275

  • rust

    Empowering everyone to build reliable and efficient software.

  • no alias has been enabled since 2021: https://github.com/rust-lang/rust/pull/82834

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • glommio

    Glommio is a thread-per-core crate that makes writing highly parallel asynchronous applications in a thread-per-core architecture easier for rustaceans.

  • https://github.com/DataDog/glommio Rust thread per core library.

  • monoio

    Rust async runtime based on io-uring.

  • I believe this is also "thread-per-core".

  • ttt-bench

    Tic-Tac-Toe benchmark in various languages

  • Erlang is a great example of a language designed concurrency-first — thanks for reminding me. I've seen some amazing deployments with it. Its failure to gain larger traction is partly because that design makes it difficult to use for "normal" code, partly because it is so unfamiliar, and partly because its compiler's generated code efficiency in sequential code is… lackluster benchmark.

  • imcs

  • That said, having written a networked service in Haskell that has been up for many years, I doubt I would do it again. I/O in Haskell is just gross and makes everything hard. (I ended up rewriting much of Haskell's printf package as part of that project. It's… better now, I guess?) If I use that service in a class again, I will probably take the time to Rewrite it in Rust™.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts