C++ Asynchronous Event Loop

Open-source C++ projects categorized as Asynchronous Event Loop

Top 8 C++ Asynchronous Event Loop Projects

  • Boost.Asio

    Asio C++ Library

    Project mention: how do i include header only libraries to my project. | reddit.com/r/cpp_questions | 2023-04-03

    as a side note, Asio is also released as an independent library without the boost stuff https://think-async.com/Asio/

  • uvw

    Header-only, event based, tiny and easy to use libuv wrapper in modern C++ - now available as also shared/static library!

  • Sonar

    Write Clean C++ Code. Always.. Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • asyncio

    asyncio is a c++20 library to write concurrent code using the async/await syntax. (by netcan)

  • rotor

    Event loop friendly C++ actor micro-framework, supervisable

    Project mention: OpenMP on heterogenous CPUs | reddit.com/r/cpp | 2023-01-19

    If your architecture fits into inter-process messaging, i.e. spawn threads which do similar or different tasks and inform each other via messages, try to use actor framework, i.e. rotor (disclaimer: I'm the author). If there is a need to expand messaging even more, i.e. across the network, you can try to use caf, which provides that facility out of the box.

  • Dasynq

    Thread-safe cross-platform event loop library in C++

  • packio

    An asynchronous msgpack-RPC and JSON-RPC library built on top of Boost.Asio.

    Project mention: Asio is great if you’re building a library/application with non-Asio API. But building Asio APIs using async compositions is too messy. Anybody else agree ? | reddit.com/r/cpp | 2022-12-23

    That's not even helpful, as you usually read/write using composed ops and they will interleave anyway. To have an io object that's capable of correctly pipelining multiple concurrent write- or read-operations, you need a custom strand like this: https://github.com/qchateau/packio/blob/master/include/packio/internal/manual_strand.h

  • zab

    C++20 liburing backed coroutine executor and event loop framework.

  • CodiumAI

    TestGPT | Generating meaningful tests for busy devs. Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push.

  • lev

    Lightweight C++ wrapper for LibEvent 2 API

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-04-03.

C++ Asynchronous Event Loop related posts


What are some of the best open-source Asynchronous Event Loop projects in C++? This list will help you:

Project Stars
1 Boost.Asio 4,051
2 uvw 1,604
3 asyncio 581
4 rotor 257
5 Dasynq 155
6 packio 84
7 zab 57
8 lev 46
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.