may

rust stackful coroutine library (by Xudong-Huang)

May Alternatives

Similar projects and alternatives to may

  1. rust

    2,857 may VS rust

    Empowering everyone to build reliable and efficient software.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. go

    2,276 may VS go

    The Go programming language

  4. node

    1,233 may VS node

    Node.js JavaScript runtime βœ¨πŸ’πŸš€βœ¨

  5. zig

    906 may VS zig

    General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

  6. .NET Runtime

    .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.

  7. rfcs

    690 may VS rfcs

    RFCs for changes to Rust

  8. FrameworkBenchmarks

    Source for the TechEmpower Framework Benchmarks project

  9. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  10. crystal

    247 may VS crystal

    The Crystal Programming Language

  11. tokio

    222 may VS tokio

    A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...

  12. actix-web

    181 may VS actix-web

    Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.

  13. Rocket

    164 may VS Rocket

    A web framework for Rust.

  14. ZIO

    61 may VS ZIO

    ZIO β€” A type-safe, composable library for async and concurrent programming in Scala

  15. runtimelab

    This repo is for experimentation and exploring new ideas that may or may not make it into the main dotnet/runtime repo.

  16. Puma

    43 may VS Puma

    A Ruby/Rack web server built for parallelism

  17. Rustler

    39 may VS Rustler

    Safe Rust bridge for creating Erlang NIF functions

  18. JRuby

    26 may VS JRuby

    JRuby, an implementation of Ruby on the JVM

  19. cached

    3 may VS cached

    Rust cache structures and easy function memoization

  20. graalvm-ce-dev-builds

    GraalVM Dev Build Downloads

  21. CherryPy

    2 may VS CherryPy

    CherryPy is a pythonic, object-oriented HTTP framework. https://cherrypy.dev

  22. gm2h

    1 may VS gm2h

    This program that automatically converts markdown files to HTML files when they are saved.

  23. SaaSHub

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

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better may alternative or higher similarity.

may discussion

Log in or Post with

may reviews and mentions

Posts with mentions or reviews of may. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-25.
  • Why choose async/await over threads?
    11 projects | news.ycombinator.com | 25 Mar 2024
    https://github.com/Xudong-Huang/may

    The project has some serious restrictions and unsound footguns (e.g. around TLS), but otherwise it's usable enough. There are also a number of C/C++ libraries, but I can not comment on those.

  • Asynchronous Clean-Up (in Rust)
    5 projects | news.ycombinator.com | 25 Feb 2024
    > e.g. Linux mutexes

    You don't want to use blocking mutexes anyway with async.

    > or Rust's Rc

    This is only half true. The danger is that two `Rc` that point to the same data are in different threads. But it should be safe to move all of them at once from one thread to another, which is exactly the case if all the `Rc`s involved live inside a `Future`. The problem is that this is a non-local property that's hard to encode in the type system.

    > By the way, if you wish to test uncolored async in Rust, you can find an implementation here: https://github.com/Xudong-Huang/may .

    FYI that's known to be unsound due to thread locals. And more generally it doesn't seem to give much attention to safety (see for example how it allowed unsound scoped tasks, or the fact it allows doing unsafe operations in some of its macros due to wrong scoping of `unsafe` blocks).

  • What's the Benefit/Allure of Async/Await vs. CSP/Green Threads (and Other Concurrency Models)?
    6 projects | /r/rust | 9 Dec 2023
    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?
  • Async Rust Is A Bad Language
    11 projects | news.ycombinator.com | 8 Sep 2023
    Can you admit that you failed in making it a pleasant experience to write async, especially for library authors? I don’t think it’s too late to admit failure and implement something like May https://github.com/Xudong-Huang/may
  • How Much Memory Do You Need to Run 1 Million Concurrent Tasks?
    2 projects | /r/programming | 21 May 2023
    Your benchmark is comparing apples to oranges, you're benchmarking different things. If you wanted to compare a Rust solution to something like what Go does, you would need to use something like this library.
  • Can this new algorithm of Kotlin async be applied to Rust?
    1 project | /r/rust | 14 Feb 2023
    Yep. This is the best coroutine library right now https://github.com/Xudong-Huang/may
  • async fn calls can lead to surprising performance problems if they are nested too deeply
    5 projects | /r/rust | 26 Jan 2023
    I am still intrigued by the stackful coroutine library, May https://github.com/Xudong-Huang/may. I would like to see how far this library can push the boundaries of being a higher level alternative to async
  • Goroutine equivalent
    1 project | /r/rust | 27 Dec 2022
    There is also "may" which attempts to be a Rust version of goroutines. I have not used it though, so can't comment on anything further about it.
  • Virtual Threads in Rust?
    3 projects | /r/rust | 30 Sep 2022
    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.
  • Working with Strings in Rust
    1 project | news.ycombinator.com | 23 Sep 2022
    I've never worked with C# so I need to look into that.

    The one saving grace with Rust is if everyone decides to say "screw async" and just builds synchronous APIs, then we use something like [May](https://github.com/Xudong-Huang/may) for green threading.

  • A note from our sponsor - InfluxDB
    www.influxdata.com | 14 Jul 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more β†’

Stats

Basic may repo stats
17
2,132
8.2
2 months ago

Xudong-Huang/may is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of may is Rust.


Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

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