Show HN: A minimalistic building blocks style C++ coroutine library

2026-10-16来源 Hacker News ShowEnglish

I wrote this originally to use with a sudo for Windows project I'm working on. It's bring-your-own-executor - you can see how I use it with Windows IO completion ports at [1]. The library itself breaks coroutines down into small pieces that can be combined to make many different kinds of tasks and generators - see how they're put together at [2]. Feel free to ask me about C++ coroutines or give feedback.

[1] https://github.com/parkovski/wsudo/blob/master/lib/common/co...

[2] https://github.com/parkovski/wscoro/blob/master/include/wsco...


Comments URL: https://news.ycombinator.com/item?id=50105718

Points: 1

# Comments: 0

原文:https://www.a8q9.cn/en/article/show-hn-a-minimalistic-building-blocks-style-c-coroutine-library-c300cd.html

相关文章