ConcurrentDeque VS readerwriterqueue

Compare ConcurrentDeque vs readerwriterqueue and see what are their differences.

ConcurrentDeque

Fast, generalized, implementation of the Chase-Lev lock-free work-stealing deque for C++17 (by ConorWilliams)

readerwriterqueue

A fast single-producer, single-consumer lock-free queue for C++ (by cameron314)
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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
ConcurrentDeque readerwriterqueue
1 4
135 3,453
- -
0.0 0.0
over 2 years ago 16 days ago
C++ C++
Mozilla Public License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

ConcurrentDeque

Posts with mentions or reviews of ConcurrentDeque. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-03-11.

readerwriterqueue

Posts with mentions or reviews of readerwriterqueue. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-18.
  • MPMC suggestions where messages are sent to all consumers ?
    4 projects | /r/cpp | 18 Mar 2023
    I have looked at the commonly recommended - https://github.com/cameron314/readerwriterqueue - https://github.com/rigtorp/MPMCQueue
  • How to figure out the cause of my pi 4 crashing?
    3 projects | /r/raspberry_pi | 15 Aug 2022
    The PREEMPT error looks like its a C module but I cannot tell from he little snippet of the log - you may do better to move the *arr and Synchthing into Docker containers to keep the OS cleaner.
  • Qt 6.3 Released
    10 projects | news.ycombinator.com | 12 Apr 2022
    For audio DSP in a Qt app I have good success with using a lock-free queue (e.g. https://github.com/cameron314/readerwriterqueue) to communicate from / to the UI threads. Code more-or-less looks like

        connect(model, &ModelObject::somethingChanged, [=] {
  • ConorWilliams/ConcurrentDeque
    3 projects | /r/cpp | 11 Mar 2021
    We recently removed readerwriterqueue from our project due to issues and replaced with simple locking queue (and got better performance in the result). Your code looks interesting, but we can't use it due to C++17 usage.

What are some alternatives?

When comparing ConcurrentDeque and readerwriterqueue you can also consider the following projects:

ModernCppStarter - 🚀 Kick-start your C++! A template for modern C++ projects using CMake, CI, code coverage, clang-format, reproducible dependency management and much more.

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

CPURasterizer - CPU Based Rasterizer Engine

CUB - THIS REPOSITORY HAS MOVED TO github.com/nvidia/cub, WHICH IS AUTOMATICALLY MIRRORED HERE.

envpool - C++-based high-performance parallel environment execution engine (vectorized env) for general RL environments.

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

parallel-dfs-dag - A parallel implementation of DFS for Directed Acyclic Graphs (https://research.nvidia.com/publication/parallel-depth-first-search-directed-acyclic-graphs)

BlockingCollection - C++11 thread safe, multi-producer, multi-consumer blocking queue, stack & priority queue class

Taskflow - A General-purpose Parallel and Heterogeneous Task Programming System

HPX - The C++ Standard Library for Parallelism and Concurrency

Thrust - [ARCHIVED] The C++ parallel algorithms library. See https://github.com/NVIDIA/cccl

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