Xudong-Huang/may
View on GitHub ↗ ★ 2,443 Rust
rust stackful coroutine library
11 mentions on Hacker News by 8 people: 2 stories, 9 comments · first 2018-01-22 · latest 2024-03-25
20082026
-
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.
comment by newpavlov · 2024-03-25 · in Why choose async/await over threads? -
…> 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…
comment by SkiFire13 · 2024-02-25 · in Asynchronous clean-up -
…By the way, if you wish to test uncolored async in Rust, you can find an implementation here: https://github.com/Xudong-Huang/may .
comment by Yoric · 2024-02-25 · in Asynchronous clean-up -
…creation of full OS threads outside the runtime. There is an attempt at doing this out there: https://github.com/Xudong-Huang/may
comment by api · 2024-01-26 · in Unsafe at Any Speed: Tradeoffs and Values in the Rust Ecosystem -
…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
comment by likeabbas · 2023-09-09 · in Maybe Rust isn’t a good tool for massively concurrent, userspace software -
…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.
comment by likeabbas · 2022-09-23 · in Working with strings in Rust (2020) -
…works but for async they should have been more opinionated. Stackfull coroutines line [May]( https://github.com/Xudong-Huang/may ) would have worked best for 99% of the use cases and maybe there could be a separate no-cost async setup for…
comment by likeabbas · 2022-09-21 · in JDK 19 Release Notes -
No, since rust async is stackless. There is a stackful coroutine implementation for Rust: https://github.com/Xudong-Huang/may
comment by oandrew · 2022-06-03 · in Async Rust doesn't have to be hard -
see https://github.com/Xudong-Huang/may/issues/6 as one example
comment by steveklabnik · 2018-01-22 · in Why is Rust difficult?