BlockingCollection
Disruptor-cpp
BlockingCollection | Disruptor-cpp | |
---|---|---|
1 | 1 | |
58 | 337 | |
- | 2.7% | |
0.0 | 0.0 | |
over 4 years ago | almost 2 years ago | |
C++ | C++ | |
GNU General Public License v3.0 only | Apache License 2.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.
BlockingCollection
-
What are some candidate libraries for inter-thread communication like message boxes or event systems?
I wasn't aware of copper; that looks pretty slick if you're able to pivot to that paradigm of thread interaction. I had played around with BlockingCollection at some point in the past.
Disruptor-cpp
-
What are some candidate libraries for inter-thread communication like message boxes or event systems?
If low latency / performance is important then something like aeron: https://github.com/real-logic/aeron or the disruptor pattern: https://github.com/Abc-Arbitrage/Disruptor-cpp are good options. Aeron supports network message but requires a driver to be running on the system even for IPC. Disruptor is thread to thread messaging only and doesn't need drivers etc - just a normal library.
What are some alternatives?
moodycamel - A fast multi-producer, multi-consumer lock-free concurrent queue for C++11
Aeron - Efficient reliable UDP unicast, UDP multicast, and IPC message transport
Taskflow - A General-purpose Parallel and Heterogeneous Task Programming System
benchmarks - Latency benchmarks for messaging
eXtended Template Library - eXtended Template Library
Rx.NET - The Reactive Extensions for .NET
libmill - Go-style concurrency in C
rotor - Event loop friendly C++ actor micro-framework, supervisable
readerwriterqueue - A fast single-producer, single-consumer lock-free queue for C++
RxCpp - Reactive Extensions for C++
cupla - The project alpaka has moved to https://github.com/alpaka-group/cupla
sobjectizer - An implementation of Actor, Publish-Subscribe, and CSP models in one rather small C++ framework. With performance, quality, and stability proved by years in the production.