Virtual Threads in Rust?

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

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • libfringe

    a Rust library implementing safe, lightweight context switches, without relying on kernel services

    There’s a bunch of library-based implementations of coroutines for rust. I recall https://github.com/edef1c/libfringe being the most interesting one, but it is quite dated. I don’t think there’s a lot of community interest in stackfull coroutines at this point.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • may

    rust stackful coroutine library

    This library https://github.com/Xudong-Huang/may implement Stackful Coroutines in Rust which I believe is pretty close to what you're asking about. I believe it's a reasonably complete implementation, but it doesn't have much traction because most of the Rust ecosystem is using either async/await or native threads.

  • rfcs

    RFCs for changes to Rust

    That's how it used to work. They removed it in 2014. Read the RFC for details on why.

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's the Benefit/Allure of Async/Await vs. CSP/Green Threads (and Other Concurrency Models)?

    6 projects | /r/rust | 9 Dec 2023
  • async fn calls can lead to surprising performance problems if they are nested too deeply

    5 projects | /r/rust | 26 Jan 2023
  • Rust vs Go

    9 projects | /r/rust | 19 Oct 2022
  • Is there any part of the Standard Library that really impresses you?

    6 projects | /r/rust | 30 Aug 2022
  • Why does Rust not have a standard async runtime?

    3 projects | /r/rust | 4 May 2022

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