Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev. Learn more →
C coroutine-library Projects
A blazing fast and lightweight C asymmetric coroutine library 💎 ⛅🚀⛅🌞Project mention: Splitting the stack - is there a library for this? | /r/C_Programming | 2023-05-17
Single header stackful cross-platform coroutine library in pure C.Project mention: How Much Memory Do You Need to Run 1M Concurrent Tasks? | news.ycombinator.com | 2023-05-21
It would be interesting to bench something extremely lightweight (like https://github.com/edubart/minicoro) against these runtimes.
By my back-of-the-napkin math, 1,000,000 coroutines would cost about 64mb + 2mb/core for stacks.. which works out to about 4x less memory than the 'winner' of this comparison, and ~30x less than go.
Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
C coroutine-library related posts
Splitting the stack - is there a library for this?
2 projects | /r/C_Programming | 17 May 2023
Show HN: Stackful Coroutines for C
1 project | news.ycombinator.com | 16 Feb 2023
Show HN: Asymmetric stackful cross-platform Coroutines in pure C
1 project | news.ycombinator.com | 17 Jan 2021
Minicoro - Single header cross-platform coroutine library
1 project | /r/C_Programming | 14 Jan 2021
Show HN: Minicoro – Single-header Coroutine library for C
1 project | news.ycombinator.com | 12 Jan 2021
A note from our sponsor - Onboard AI
getonboard.dev | 29 Nov 2023