readerwriterqueue VS ModernCppStarter

Compare readerwriterqueue vs ModernCppStarter and see what are their differences.

readerwriterqueue

A fast single-producer, single-consumer lock-free queue for C++ (by cameron314)

ModernCppStarter

🚀 Kick-start your C++! A template for modern C++ projects using CMake, CI, code coverage, clang-format, reproducible dependency management and much more. (by TheLartians)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
readerwriterqueue ModernCppStarter
4 6
3,441 4,048
- -
0.0 4.3
10 days ago 9 days ago
C++ CMake
GNU General Public License v3.0 or later The Unlicense
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.

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.

ModernCppStarter

Posts with mentions or reviews of ModernCppStarter. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-13.
  • Collecting the best C++ practices
    10 projects | dev.to | 13 Jan 2023
    ModernCppStarter. Kick-start your C++! A template for modern C++ projects using CMake, CI, code coverage, clang-format, reproducible dependency management and much more.
  • Is Using Project-Templates A Good Thing For Understanding CMake Better?
    3 projects | /r/cpp_questions | 5 Mar 2022
    I really want to understand CMake in a deeper way. Recently, I have found many project templates like this one: https://github.com/TheLartians/ModernCppStarter. Is using theses templates a good idea to understand how to use CMake very well in a bigger project? Or what alternatives are there? Can anyone recommend good resources, which are the current best practice in these cases. Thank you in advance.
  • Recommendations for modern C++ project structures
    2 projects | /r/cpp | 23 Jan 2022
    https://github.com/TheLartians/ModernCppStarter if you need a template project structure
  • ConorWilliams/ConcurrentDeque
    3 projects | /r/cpp | 11 Mar 2021
    Nice. Sounds good. I'll see if I can make it work with https://github.com/TheLartians/ModernCppStarter if there's any issues I'll make you a PR.
  • Looking for a CMake Guru
    3 projects | /r/cmake | 7 Mar 2021
    Have a look here https://github.com/TheLartians/ModernCppStarter - this project uses author's own CPM cmake-based package manager which is easy to use (for projects written with cmake). It's a nice starting point.
  • Cmake Skeleton?
    4 projects | /r/cmake | 18 Feb 2021
    I think this one is pretty good: https://github.com/TheLartians/ModernCppStarter

What are some alternatives?

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

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

cmake-init - The missing CMake project initializer

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

gui_starter_template - A template CMake project to get you started with C++ and tooling

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

cmake-git-version-tracking - Embed Git metadata in a C/C++ compatible static library using CMake (e.g. commit ID, author, date, and message).

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

cpp-project - Boiler plate template for C++ projects, with CMake, Doctest, Travis CI, Appveyor, Github Actions and coverage reports.

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

cmake-examples - Useful CMake Examples

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

cmake-sfml-project - Repository template for SFML projects using CMake