Rust's async isn't f#@king colored!

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

InfluxDB - Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • web-libusb

  • InfluxDB

    Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.

    InfluxDB logo
  • rust-async-bench

    The cost of Rust async/await

    Rust's async story is zero-cost in the sense that it is not possible to implement a better asynchronous state machine than the one the compiler will provide for you, but it is explicitly not zero-cost in the sense that there is no overhead to asynchronous execution in comparison to synchronous execution. See experiments like this for examples.

  • proposal-top-level-await

    Discontinued top-level `await` proposal for ECMAScript (stage 4)

    There is a proposal for top-level await in JS. I'm guessing this would effectively kinda do the same thing? Or am I wrong there?

  • async-std

    Async version of the Rust standard library

    Async in rust needs a runtime (aka executor) to run. You can maybe get a better description from the rust docs. As an example, Tokio attempts to provide an interface for a developer that is minimal change to the more common blocking code. So you'd end up putting #[tokio::main] above your main function to spin up the executor and most of the rest of the code is similar to a non-async version with a few sprinkles of .await, which you can see in the hello world for tokio. In contrast, async-std provides a more hands-on/low-level approach. If you are unlucky enough to have libraries that choose different stacks to work on, you'll possibly (probably?) have to handle both.

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

  • What is the best way to ask for user input while simultaneously outputting to the console?

    2 projects | /r/rust | 16 Jan 2021
  • async-std v1.9.0 has been released!

    2 projects | /r/rust | 15 Jan 2021
  • Rust async is colored, and that’s not a big deal

    4 projects | /r/rust | 14 Mar 2021
  • Coerce – Distributed actor framework in Rust

    2 projects | news.ycombinator.com | 17 Feb 2023
  • Building an actor library for Quickwit's indexing pipeline.

    1 project | /r/rust | 10 Feb 2023

Did you konow that Rust is
the 5th most popular programming language
based on number of metions?