C++ Concurrency

Open-source C++ projects categorized as Concurrency

Top 23 C++ Concurrency Projects

Concurrency
  1. Swoole

    🚀 Coroutine-based concurrency library for PHP

    Project mention: Swoole (Coroutine-based concurrency for PHP) v6 released | news.ycombinator.com | 2024-12-16
  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. moodycamel

    A fast multi-producer, multi-consumer lock-free concurrent queue for C++11

  4. Taskflow

    A General-purpose Task-parallel Programming System using Modern C++

    Project mention: Show HN: Coros – A Modern C++ Library for Task Parallelism | news.ycombinator.com | 2024-09-25

    Martin, have you had a look at https://github.com/taskflow/taskflow ?

  5. ZeroMQ

    ZeroMQ core engine in C++, implements ZMTP/3.1

    Project mention: ZeroMQ: High-Performance Concurrency Framework | news.ycombinator.com | 2024-07-14

    They explained why they did this here: https://github.com/zeromq/libzmq/issues/2376

    Bottom line is that their licensing with a static linking exception was kind of weird and creating a lot of issues combining zeromq code even with other open source licenses (like Apache 2.0).

    Interesting to see how they gathered permission to do this from the developer community. License changes like this are usually hard to realize unless you insist on copyright transfers. But in this case they managed to do it without that. So it was a collective decision. Hard to argue with that.

  6. ArrayFire

    ArrayFire: a general purpose GPU library.

  7. readerwriterqueue

    A fast single-producer, single-consumer lock-free queue for C++

  8. NCCL

    Optimized primitives for collective multi-GPU communication

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. C++ Actor Framework

    An Open Source Implementation of the Actor Model in C++

  11. parallel-hashmap

    A family of header-only, very fast and memory-friendly hashmap and btree containers.

    Project mention: Parallel-hashmap: drop-in replacement for unordered_map, unordered_set | news.ycombinator.com | 2025-01-05

    My default they are not thread safe, i.e., they offer the same thread safety as std::map or any stdlib type; however, the map can optionally be made thread safe and is apparently optimized for this usage. Details at: https://github.com/greg7mdp/parallel-hashmap?tab=readme-ov-f....

  12. libcds

    A C++ library of Concurrent Data Structures

  13. HPX

    The C++ Standard Library for Parallelism and Concurrency

  14. concurrencpp

    Modern concurrency for C++. Tasks, executors, timers and C++20 coroutines to rule them all

    Project mention: Concurrencpp – C++ Coroutine Library | news.ycombinator.com | 2024-08-03
  15. thread-pool

    BS::thread_pool: a fast, lightweight, modern, and easy-to-use C++17 / C++20 / C++23 thread pool library

  16. moderngpu

    Patterns and behaviors for GPU computing

  17. Boost.Compute

    A C++ GPU Computing Library for OpenCL

  18. junction

    Concurrent data structures in C++

  19. CacheLib

    Pluggable in-process caching engine to build and scale high performance services

  20. MPMCQueue.h

    A bounded multi-producer multi-consumer concurrent queue written in C++11

  21. stdgpu

    stdgpu: Efficient STL-like Data Structures on the GPU

  22. C++React

    C++React: A reactive programming library for C++11.

  23. SPSCQueue.h

    A bounded single-producer single-consumer wait-free and lock-free queue written in C++11

  24. RaftLib

    The RaftLib C++ library, streaming/dataflow concurrency via C++ iostream-like operators

  25. lockfree

    A collection of lock-free data structures written in standard C++11

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

C++ Concurrency discussion

Log in or Post with

C++ Concurrency related posts

  • The Way We Are Building Event-Driven Applications Is Misguided

    1 project | news.ycombinator.com | 28 May 2024
  • Open Swoole: PHP Server with Async IO, Coroutines and Fibers

    1 project | news.ycombinator.com | 12 Feb 2024
  • AMD's CDNA 3 Compute Architecture

    7 projects | news.ycombinator.com | 17 Dec 2023
  • Open Swoole – Programmatic server for PHP with async IO, coroutines and fibers

    1 project | news.ycombinator.com | 19 Oct 2023
  • ZeroMQ – Relicense from LGPL3 and exceptions to MPL 2.0

    1 project | /r/hackernews | 10 Oct 2023
  • Essentials of Object Oriented and Functional Programming: A Guide to Modular Code

    3 projects | dev.to | 27 Jul 2023
  • C++ Jobs - Q3 2023

    3 projects | /r/cpp | 4 Jul 2023
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 19 Apr 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Index

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

# Project Stars
1 Swoole 18,630
2 moodycamel 10,871
3 Taskflow 10,774
4 ZeroMQ 10,104
5 ArrayFire 4,676
6 readerwriterqueue 4,052
7 NCCL 3,652
8 C++ Actor Framework 3,260
9 parallel-hashmap 2,908
10 libcds 2,608
11 HPX 2,608
12 concurrencpp 2,518
13 thread-pool 2,486
14 moderngpu 1,707
15 Boost.Compute 1,598
16 junction 1,411
17 CacheLib 1,298
18 MPMCQueue.h 1,248
19 stdgpu 1,212
20 C++React 1,027
21 SPSCQueue.h 975
22 RaftLib 965
23 lockfree 873

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that C++ is
the 7th most popular programming language
based on number of references?