{"repo":"dou1984/coev","free":true,"listed":false,"github":"https://github.com/dou1984/coev","clone":"git clone https://github.com/dou1984/coev.git","description":"C++ stackless coroutine library . Support for TCP, UDP, HTTP, HTTP2, mysqlclient, kafkaclient, zookeeper with full coroutine-driven architecture.","language":"C++","stars":18,"topics":["cpp","coroutine","stackless","http","http2","https","udp","hiredis","mysql-client","kafka"],"license":"MIT","category":"data-pipelines","readme_excerpt":"coev c++20 coroutine libev --- coev is a high-performance coroutine programming library built on C++20 coroutines. It provides a comprehensive and user-friendly abstraction over C++20 coroutines, leveraging the mature and stable libev networking library as its foundation to deliver excellent network throughput. The primary design goal of coev is to simplify the notoriously complex and obscure usage of C++20 coroutines. Through high-level abstraction and modular decoupling, developers can write asynchronous logic as intuitively as synchronous code—simply using co await to wait for I/O operations to complete—while enjoying clear and straightforward control flow and full support for temporary variables within functions, including their seamless passing across suspension points. Most importantly, coev completely decouples coroutines from networking logic, enabling developers to transform any asynchronous operation into a coroutine seamlessly. Coroutine resumption can be triggered either manually or automatically via events, offering exceptional flexibility and fine-grained control. In terms of task scheduling, coev provides powerful concurrency primitives: 1. wait for all – waits until all tasks complete 2. wait for any – returns as soon as any one task completes 3. These primitives can be arbitrarily combined and nested to construct sophisticated concurrent workflows All tasks automatically release their resources upon completion, eliminating the need for manual lifetime managem","default_branch":null,"files":null,"tree":[],"storefront":"/r/dou1984","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dou1984/coev/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}