Why asynchronous Rust doesn't work

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

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • rfcs

    RFCs for changes to Rust

  • Rust did have green threading (user threads and goroutines) runtime back before the v1.0 stabilization but they removed it to make the language applicable to a broader range of problems.

  • embassy

    Modern embedded framework, using Rust and async.

  • Rust’s async design allows for async to be used on a variety of hardware types, like embedded. Green threads/fibers are much more useful for managed languages like Go and Java that don’t typically have to run without an operating system or without a memory allocator. Of course C++ can do this also, with their new coroutines/generators feature but I don’t think it’s very controversial to say that it is much harder to use than Rust’s async.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • async-std

    Async version of the Rust standard library

  • Go's solution is for the scheduler to notice after a while when a goroutine has blocked execution and to shift goroutines waiting their turn to another thread. async-std pondered a similar approach with tasks, but it proved controversial and was never merged.

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

  • String literals for succinctly creating Strings instead of &strs?

    2 projects | /r/rust | 29 Mar 2023
  • Avoid Async Rust at All Cost

    1 project | news.ycombinator.com | 23 Jan 2024
  • The state of BLE and Rust (no_std)

    2 projects | /r/rust | 10 Nov 2023
  • Rust newcomers are 70x less likely to create vulnerabilities than C++ newcomers [pdf]

    5 projects | news.ycombinator.com | 6 Nov 2023
  • Asynchronous Rust on Cortex-M Microcontrollers

    5 projects | news.ycombinator.com | 19 Jul 2023