minicoro
fiber
minicoro | fiber | |
---|---|---|
6 | 1 | |
579 | 23 | |
- | - | |
4.8 | 4.8 | |
6 months ago | 7 months ago | |
C | C++ | |
GNU General Public License v3.0 or later | Boost Software License 1.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
minicoro
-
How Much Memory Do You Need to Run 1M Concurrent Tasks?
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.
- Show HN: Stackful Coroutines for C
- Show HN: Asymmetric stackful cross-platform Coroutines in pure C
-
Ask HN: What Are You Working On?
A single header asymmetric stackful cross-platform coroutine library in pure C.
https://github.com/edubart/minicoro
- Minicoro - Single header cross-platform coroutine library
- Show HN: Minicoro – Single-header Coroutine library for C
fiber
-
FIX8::fiber - A C++20 stackful fiber implementation for Linux/x86-64
See fix8mt/fiber. Header only, stackful and lightweight. This version is for Linux/x86_64 only but we'll add support for other platforms going forward. We'll also look to adding some debug support.
What are some alternatives?
covid_status
CoFSM - Finite State Machine using C++20 coroutines with symmetric transfer
Oat++ - 🌱Light and powerful C++ web framework for highly scalable and resource-efficient web application. It's zero-dependency and easy-portable.
coop - C++20 coroutines-based cooperative multitasking library
nbnet - single header C(99) library to implement client-server network code for games
io - Coroutine based asynchronous IO using poll and io_uring for C++20
procedural-gl-js - Mobile-first 3D mapping engine with emphasis on user experience
WisniaLang - A compiler for an experimental programming language that produces tiny Linux binaries (ELF x86_64) without LLVM dependency!
alang - A minimal viable programming language on top of liblgpp
thread-pool - A modern, fast, lightweight thread pool library based on C++20
ctl - My variant of the C Template Library
tomlplusplus - Header-only TOML config file parser and serializer for C++17.