What's the Benefit/Allure of Async/Await vs. CSP/Green Threads (and Other Concurrency Models)?

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

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. may

    rust stackful coroutine library

    It seems that rust removed native green threads as against it's philosophy: https://stackoverflow.com/questions/29428318/why-did-rust-remove-the-green-threading-model-whats-the-disadvantage#29430403 but there are good CSP libraries e.g. https://github.com/Xudong-Huang/may and yet people really like e.g. Tokio for Async/Await (although it also has greenthreads!) What am I missing?

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. generator-rs

    rust stackful generator library

    lot of unsafe code assumes you can't leak stackframes, which suspendable APIs however inherently can, hence why scoped tasks are unsound. This is not different with green threads, see for example this issue in generator, the library that may uses for green threads.

  4. rfcs

    RFCs for changes to Rust

  5. rust

    Empowering everyone to build reliable and efficient software.

  6. AspNetCoreDiagnosticScenarios

    This repository has examples of broken patterns in ASP.NET Core applications

    The C# (mostly applicat community has e.g. https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/blob/master/AsyncGuidance.md written by one of the Asp.Net architects. I found this in this lovely thread https://news.ycombinator.com/item?id=36785691 which expresses my views/confusion more clearly than I can express.

  7. libmprompt

    Robust multi-prompt delimited control and effect handlers in C/C++

    This is false, as shown by libmprompt

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 next big thing coming to Rust

    9 projects | /r/rust | 6 Dec 2022
  • Generalizing coroutines - The Rust Language Design Team

    8 projects | /r/rust | 12 Jul 2022
  • What feature would you like to see implemented/stabilized?

    17 projects | /r/rust | 17 Sep 2021
  • Perhaps Rust Needs "Defer"

    2 projects | news.ycombinator.com | 6 Nov 2024
  • An Optimization That's Impossible in Rust

    2 projects | news.ycombinator.com | 4 Sep 2024