# Xudong-Huang/may

rust stackful coroutine library

Repository: https://github.com/Xudong-Huang/may
Canonical: https://ross.abutalabs.com/products/may
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: rust, coroutines, green-threads, fibers, async, scalability, io, primitives, high-performance, generator
Last push: 2026-08-03T09:38:24+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 95, release rhythm 35, longevity 100
- inputs: {"age_days": 3449, "days_push": 30, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2424, forks 101 (observed 2026-08-28T04:06:50.718136+00:00)

## What it is
May is a high-performance Rust library for stackful coroutines, offering a Goroutine-like programming model for building massively concurrent programs. It provides coroutine-compatible networking I/O, timers, synchronization primitives, and scheduling across multiple threads.

## Use cases
- write goroutine-style concurrent code in Rust
- build a high-performance echo server
- handle massive concurrent network I/O without async/await
- implement CPU-heavy concurrent workloads like quicksort across coroutines
- manage timers and synchronization primitives across lightweight tasks
- cancel or gracefully handle panics in concurrent tasks

## When to choose
- you want stackful coroutines with standard-library-like blocking APIs instead of async/await
- you need to run millions of lightweight concurrent tasks with efficient multi-core scheduling
- you are porting Go-style concurrency patterns to Rust
- you need coroutine-local storage and scoped coroutine spawning

## When to avoid
- your project is already committed to the async/await ecosystem (tokio, async-std)
- you need platform support beyond x86_64/AArch64 Linux, Windows, and macOS
- you require no_std or embedded environments
- you prefer stackless generators or futures-based abstractions

## Facets
- artifact type: library
- maturity: active
- function: concurrency, networking, http-server, websocket
- domain: developer-tools, networking, performance, backend
- platform: windows, rust
- tags: coroutines, green-threads, fibers, stackful-coroutine, goroutines, async, generator, scheduler, linux, macos

## Member repositories
- Xudong-Huang/may (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:50.718136+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:31:50.863318+00:00, confidence not recorded.
  - readme: https://github.com/Xudong-Huang/may (fetched 2026-08-28T04:06:50.718136+00:00, sha 17d27a270ada)
  - registry_crates: https://crates.io/api/v1/crates/may (fetched 2026-08-29T10:13:05.707479+00:00, sha 61392e260b52)
- Data as of 2026-08-30T08:39:29.467469+00:00.
