MPMCQueue.h
Boost.Compute
MPMCQueue.h | Boost.Compute | |
---|---|---|
2 | - | |
1,093 | 1,500 | |
- | 0.7% | |
2.8 | 0.0 | |
about 2 months ago | 11 days ago | |
C++ | C++ | |
MIT License | Boost Software License 1.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
MPMCQueue.h
-
MPMC suggestions where messages are sent to all consumers ?
I have looked at the commonly recommended - https://github.com/cameron314/readerwriterqueue - https://github.com/rigtorp/MPMCQueue
-
Correctly implementing a spinlock in Modern C++
You can align and pad each ring buffer slot to the cache line size. Example https://github.com/rigtorp/MPMCQueue/blob/master/include/rig...
Boost.Compute
We haven't tracked posts mentioning Boost.Compute yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
moodycamel - A fast multi-producer, multi-consumer lock-free concurrent queue for C++11
Thrust - [ARCHIVED] The C++ parallel algorithms library. See https://github.com/NVIDIA/cccl
Disruptor - High Performance Inter-Thread Messaging Library
abseil-cpp - Abseil Common Libraries (C++)
ArrayFire - ArrayFire: a general purpose GPU library.
readerwriterqueue - A fast single-producer, single-consumer lock-free queue for C++
C++React - C++React: A reactive programming library for C++11.
libmill - Go-style concurrency in C
HPX - The C++ Standard Library for Parallelism and Concurrency
Bolt - 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.