libco
libco copied to clipboard
can I use this with pure C code on non-X86?
is there an easy way I can use libco in C environment directly as it is labelled as "C/C++ library", all examples are in C++, why does it have "C" there if hacks/flags/etc are needed to get it work(yes I know you can mix C/C++ with extra-efforts)
does this support ARM/MIPS architecture?
agree, have the same question, how to use it in pure C project?
There have a pure C coroutines implementation: https://github.com/heiher/hev-task-system
ARM/MIPS and RISC-V ... architectures are supported.
The original version of libco supports ARM, ARM64, PowerPC, PowerPC64, C's setjmp/longjmp, POSIX's ucontext and Windows' fibres.
https://github.com/xhawk18/s_task
hardware: x86, x64, arm, aarch64, mips, mips64, cortex-m0/m3/m4, stm8 os: windows, linux, macos, android, mingw, and even no OS network: libuv other: support await / async
https://github.com/idealvin/coost.git
跨平台类go语言编程的c++协程库。