Top 23 C++ Concurrency Projects
🚀 Coroutine-based concurrency library for PHP
ZeroMQ core engine in C++, implements ZMTP/3.1
A fast multi-producer, multi-consumer lock-free concurrent queue for C++11Latest mention: Functional programming in C++ (2012) | news.ycombinator.com | 2020-12-28
> So the big win with functional programming is easier testibility and fewer hazards when trying to multi-thread your code.
To give you my experience: during my phd, I developed https://ossia.io in C++. For the manuscript redaction, I rewrote all the core algorithms in pure functional OCaml. When I did some tests, performance was slower than -O0 C++ (so it's not even a given that multithreaded OCaml would outperform single-thread C++), the tests weren't meaningfully simpler to write, and it would be pretty much impossible to have an average comp. sci. student contribute to the code.
My experience multi-threading C++ code is, "slap cpp-taskflow, TBB, RaftLib" or any kind of threaded task system and enjoy arbitrary scaling. Hardly the pain it is made to be unless you have a need to go down to std::thread level, but even then using something like https://github.com/cameron314/concurrentqueue to communicate between threads makes things extremely painless.
A General-purpose Parallel and Heterogeneous Task Programming System
ArrayFire: a general purpose GPU library.
The C++ parallel algorithms library.
An Open Source Implementation of the Actor Model in C++
A fast single-producer, single-consumer lock-free queue for C++
A C++ library of Concurrent Data Structures
The C++ Standard Library for Parallelism and ConcurrencyLatest mention: latest c++ theory vs reality | reddit.com/r/cpp | 2021-01-11
Optimized primitives for collective multi-GPU communication
A C++ GPU Computing Library for OpenCL
Patterns and behaviors for GPU computing
Concurrent data structures in C++
C++React: A reactive programming library for C++11.
A family of header-only, very fast and memory-friendly hashmap and btree containers.Latest mention: A Debugging Tip: Write Custom Visualizers in Visual Studio | reddit.com/r/cpp | 2021-01-11
Yes, these are nice, I wrote some for the phmap library. I wish that there was a standard (and portable across compilers) way to do this though, maybe by adding a specific function to our classes.
The RaftLib C++ library, streaming/dataflow concurrency via C++ iostream-like operators
C++14 asynchronous allocation aware futures (supporting then, exception handling, coroutines and connections)
VexCL is a C++ vector expression template library for OpenCL/CUDA/OpenMP
stdgpu: Efficient STL-like Data Structures on the GPU
A bounded multi-producer multi-consumer concurrent queue written in C++11
C++ library for executors
Bolt is a C++ template library optimized for GPUs. Bolt provides high-performance library implementations for common algorithms such as scan, reduce, transform, and sort.
What are some of the best open-source Concurrency projects in C++? This list will help you: