C++ Concurrency

Open-source C++ projects categorized as Concurrency
Topics: CPP Cpp17 Async Cpp20 C++

Top 23 C++ Concurrency Projects

  • Swoole

    šŸš€ Coroutine-based concurrency library for PHP

  • Project mention: Performance benchmark of PHP runtimes | dev.to | 2024-01-17

    Swoole

  • Taskflow

    A General-purpose Parallel and Heterogeneous Task Programming System

  • Project mention: Improvements of Clojure in his time | /r/Clojure | 2023-06-16

    For parallel programming nowadays, personally I reach for C++ Taskflow when I really care about performance, or a mix of core.async and running multiple load balanced instances when Iā€™m doing more traditional web backend stuff in Clojure.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • ZeroMQ

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

  • Project mention: Lightweight and fast AMQP (0-9-1) server | news.ycombinator.com | 2024-04-07

    Slightly OT:

    Are ZeroMQ and NanoMQ still widely used (and recommended)?

    https://github.com/zeromq/libzmq

    https://github.com/nanomq/nanomq

  • moodycamel

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

  • ArrayFire

    ArrayFire: a general purpose GPU library.

  • readerwriterqueue

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

  • C++ Actor Framework

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

  • Project mention: C++ Jobs - Q3 2023 | /r/cpp | 2023-07-04

    CAF

  • SaaSHub

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

    SaaSHub logo
  • NCCL

    Optimized primitives for collective multi-GPU communication

  • Project mention: MPI jobs to test | /r/HPC | 2023-06-06

    % rm -rf /tmp/nccl ; git clone --recursive https://github.com/NVIDIA/nccl.git ; cd nccl ; git grep MPI Cloning into 'nccl'... remote: Enumerating objects: 2769, done. remote: Counting objects: 100% (336/336), done. remote: Compressing objects: 100% (140/140), done. remote: Total 2769 (delta 201), reused 287 (delta 196), pack-reused 2433 Receiving objects: 100% (2769/2769), 3.04 MiB | 3.37 MiB/s, done. Resolving deltas: 100% (1820/1820), done. README.md:NCCL (pronounced "Nickel") is a stand-alone library of standard communication routines for GPUs, implementing all-reduce, all-gather, reduce, broadcast, reduce-scatter, as well as any send/receive based communication pattern. It has been optimized to achieve high bandwidth on platforms using PCIe, NVLink, NVswitch, as well as networking using InfiniBand Verbs or TCP/IP sockets. NCCL supports an arbitrary number of GPUs installed in a single node or across multiple nodes, and can be used in either single- or multi-process (e.g., MPI) applications. src/collectives/broadcast.cc:/* Deprecated original "in place" function, similar to MPI */

  • libcds

    A C++ library of Concurrent Data Structures

  • HPX

    The C++ Standard Library for Parallelism and Concurrency

  • Project mention: Does anyone know any good open source project to optimize? | /r/cpp | 2023-06-07
  • parallel-hashmap

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

  • Project mention: The One Billion Row Challenge in CUDA: from 17 minutes to 17 seconds | news.ycombinator.com | 2024-04-13

    Standard library maps/unordered_maps are themselves notoriously slow anyway. A sparse_hash_map from abseil or parallel-hashmaps[1] would be better.

    [1] https://github.com/greg7mdp/parallel-hashmap

  • concurrencpp

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

  • Project mention: Is anyone using coroutines seriously? | /r/cpp | 2023-12-05

    I am using concurrencpp for my project. What I like about it is that it's basically a thread pool factory with coroutines. It allows for better structuring / organizing of multithreaded work. So for me the main advantage of coroutines is that the code looks easier to follow

  • thread-pool

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

  • moderngpu

    Patterns and behaviors for GPU computing

  • Boost.Compute

    A C++ GPU Computing Library for OpenCL

  • junction

    Concurrent data structures in C++

  • CacheLib

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

  • MPMCQueue.h

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

  • stdgpu

    stdgpu: Efficient STL-like Data Structures on the GPU

  • C++React

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

  • RaftLib

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

  • SPSCQueue.h

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

  • continuable

    C++14 asynchronous allocation aware futures (supporting then, exception handling, coroutines and connections)

  • 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 related posts

  • 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
  • Improvements of Clojure in his time

    1 project | /r/Clojure | 16 Jun 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 16 May 2024
    SaaSHub helps you find the best software and product alternatives 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,240
2 Taskflow 9,608
3 ZeroMQ 9,322
4 moodycamel 8,874
5 ArrayFire 4,425
6 readerwriterqueue 3,476
7 C++ Actor Framework 3,112
8 NCCL 2,860
9 libcds 2,484
10 HPX 2,418
11 parallel-hashmap 2,340
12 concurrencpp 2,083
13 thread-pool 1,961
14 moderngpu 1,562
15 Boost.Compute 1,508
16 junction 1,365
17 CacheLib 1,101
18 MPMCQueue.h 1,103
19 stdgpu 1,089
20 C++React 997
21 RaftLib 928
22 SPSCQueue.h 846
23 continuable 813

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com