libco
libco is a coroutine library which is widely used in wechat back-end service. It has been running on tens of thousands of machines since 2013. (by Tencent)
libaco
A blazing fast and lightweight C asymmetric coroutine library 💎 ⛅🚀⛅🌞 (by hnes)
libco | libaco | |
---|---|---|
3 | 3 | |
8,088 | 3,437 | |
0.4% | - | |
0.0 | 10.0 | |
about 2 months ago | almost 2 years ago | |
C++ | C | |
GNU General Public License v3.0 or later | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
libco
Posts with mentions or reviews of libco.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-08.
- Show HN: Neco – Coroutine Library for C
-
Recently programming languages rust swift kotlin are all have too many tricks, make chinese developers feel uncomfortable and naive .
Also I found another project libco: https://github.com/Tencent/libco which is created by the China internet company tecent, the mother company of WeChat.
-
bastion - Highly-available Distributed Fault-tolerant Runtime
WeChat background service is based on C ++ coroutine architecture :libco, see https://github.com/Tencent/libco
libaco
Posts with mentions or reviews of libaco.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-08.
- Show HN: Neco – Coroutine Library for C
- Splitting the stack - is there a library for this?
-
What are the current hot topics in type theory and static analysis?
Coroutines, async/await and general multicore support in the type system. Most languages by now either have some variant of async / await (JavaScript, Kotlin, Swift, Rust) or super-lightweight threads (Go, Elixir, Java via Project Loom), or they just have Monads which supersede coroutines entirely (Haskell, Scala). It's at the point where some say a language isn't suitable for production if it doesn't have good multicore support (also see Rust speeding through getting async/await even though they already have Send + Sync). Even Python and C++ have coroutines now, and of course there is a coroutine library for C which uses macros and low-level magic.
What are some alternatives?
When comparing libco and libaco you can also consider the following projects:
libgo - Go-style concurrency in C++11
val - A small library to bring NaNboxing to C
bastion - Highly-available Distributed Fault-tolerant Runtime
coroutine - A asymmetric coroutine library for C.
rust - Empowering everyone to build reliable and efficient software.
Akka - Build highly concurrent, distributed, and resilient message-driven applications on the JVM
language - Design of the Dart language
fully-homomorphic-encryption - An FHE compiler for C++
libco - libco is a cooperative multithreading library written in C89.
eff - 🚧 a work in progress effect system for Haskell 🚧
neco - Concurrency library for C (coroutines)
rfcs - RFC process for Bytecode Alliance projects