moodycamel VS papers-we-love

Compare moodycamel vs papers-we-love and see what are their differences.

moodycamel

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

papers-we-love

Papers from the computer science community to read and discuss. (by papers-we-love)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
moodycamel papers-we-love
11 69
8,808 83,133
- 1.3%
3.9 5.4
10 months ago 7 months ago
C++ Shell
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.

moodycamel

Posts with mentions or reviews of moodycamel. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-21.
  • Professional Usernames
    1 project | /r/learnprogramming | 5 Aug 2022
    Other than that... if your stuff is good, that's a much better signal than a professional username. I've seen a lot of decently unprofessional usernames out there that get taken pretty seriously because of the good work behind them. My recent favorite is "moodycamel" who authored a great concurrent queue library in C++.
  • How should you "fix your timestep" for physics?
    1 project | /r/gamedev | 27 May 2022
    In c++ the moodycamel ConcurrentQueue is a good choice.
  • Efficient asynchronous programming -- search keywords/basic pointers (ha)/examples?
    1 project | /r/AskProgramming | 30 Apr 2022
    Here's a decent concurrent queue: moodycamel::ConcurrentQueue.
  • moodycamel VS lockfree_mpmc_queue - a user suggested alternative
    2 projects | 21 Apr 2022
  • Lockless Queue Not Working
    1 project | /r/cpp_questions | 8 Mar 2022
    Lock free programming is hard, and probably harder than you think. I would not even try something like that myself. I would look for existing solutions, something like https://github.com/cameron314/concurrentqueue for example.
  • Simple Blocking/Nonblocking Concurrent (thread-safe) Queue Adapter, header only library
    1 project | /r/cpp | 14 Feb 2022
    I needed a concurrent queue that would block when attempting to pop an empty queue, which allows the consuming thread to suspend while it's waiting for work. I found that using mutexes allowed me to develop a simple template adapter had several advantages with few drawbacks when compared to non-blocking queues: it can use a variety of containers, the code can be reviewed and verified as to its correctness (very hard to do with fancy concurrent programming that avoids mutexes), and it is only slightly slower than fancier solutions (when I benchmarked it originally, it was 4x slower than Moody Camel's concurrent queue, which to me is fine performance).
  • Matthias Killat - Lock-free programming for real-time systems - Meeting C++ 2021
    2 projects | /r/cpp | 22 Jan 2022
    Not literatue but an example. This is a lock-free (not wait-free!) multi-producer multi-consumer queue, not a FIFO, but access patterns should be similar - if not the same: https://github.com/cameron314/concurrentqueue
  • Learning Clojure made me return back to C/C++
    8 projects | /r/Clojure | 23 Jul 2021
    If I do implement it, the most likely route I'd take is make a compiler in Clojure/clojurescript that uses Instaparse (I have a more-or-less-clojure grammar written that I was tinkering with) and generate C++ code that uses Immer for its data structures and Zug for transducers and what my not-quite-clojure would support would be heavily dependent on what the C++ code and libraries I use can do. I'd use Taskflow to implement a core.async style system (not sure how to implement channels, maybe this but I'm unsure if its a good fit, but I also haven't looked). I would ultimately want to be able to interact with C++ code, so having some way to call C++ classes (even templated ones) would be a must. I'm unsure if I would just copy (and extend as needed) Clojure's host interop functionality or not. I had toyed with the idea that you can define the native types (including templates) as part of the type annotations and then the user-level code basically just looks like a normal function. But I didn't take it very far yet, haven't had the time. The reason I'd take this approach is that I'm writing a good bit of C++ again and I'd love to do that in this not-quite-clojure language, if I did make it. A bunch of languages, like Haxe and Nim compile to C or C++, so I think its a perfectly reasonable approach, and if interop works well enough, then just like Clojure was able to leverage the Java ecosystem, not-quite-clojure could be bootstrapped by leveraging the C++ ecosystem. But its mostly just a vague dream right now.
  • Recommendations for C++ library for shared memory (multiple producers/single consumer)
    3 projects | /r/cpp | 28 May 2021
    I would recommend https://github.com/cameron314/concurrentqueue as it's very battle tested and fast.
  • fmtlog: fastest C++ logging library using fmtlib syntax
    2 projects | /r/cpp | 6 May 2021
    This was explicitly considered for spdlog (using the moodycamel::ConcurrentQueue) but rejected for the above reason. I'm not involved in the development of spdlog but personally I agree, for me it's important that log output is not all mixed up.

papers-we-love

Posts with mentions or reviews of papers-we-love. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-20.
  • The Top 10 GitHub Repositories Making Waves 🌊📊
    22 projects | dev.to | 20 Dec 2023
    Papers We Love (PWL) is a community built around reading, discussing and learning more about academic computer science papers. This repository serves as a directory of some of the best papers the community can find, bringing together documents scattered across the web. You can also visit the Papers We Love site for more info.
  • What led you to use Linux as your daily driver?
    4 projects | /r/linuxquestions | 7 Dec 2023
  • We have used too many levels of abstractions and now the future looks bleak
    6 projects | news.ycombinator.com | 21 Oct 2023
    You might find the paper Out of the Tar Pit interesting if you haven't already read it: https://github.com/papers-we-love/papers-we-love/blob/main/d...

    The ideas and approaches you talk about evoked some of the concepts from that paper for me. It talks a lot about separating accidental complexity and infrastructure so you can focus only on what is essential to define your solutions.

  • Out Of The Tar Pit (2006) [pdf]
    1 project | news.ycombinator.com | 8 Sep 2023
  • John McCarthy’s collection of numerical facts for use in elisp programs
    4 projects | news.ycombinator.com | 7 Sep 2023
    Sure he was expecting a practical language and was designing one. Lisp was from day zero a project to implement a real programming language for a computer.

    Earlier he experimented with IPL and also list processing programming on Fortran. The plan was to implement a Lisp compiler. At first the Lisp code McCarthy was experimenting with, was manually translated to machine code.

    Then came up the idea to use EVAL as a base for an interpreter, which was implemented by manually translating the Lisp code to machine language. Around 1962 then a compiler followed.

    https://github.com/papers-we-love/papers-we-love/blob/main/c...

  • Python: Just Write SQL
    21 projects | news.ycombinator.com | 14 Aug 2023
    I'm in a 4th camp: we should be writing our applications against a relational data model and _not_ marshaling query results into and out of Objects at all.

    Elaborations on this approach:

    - https://github.com/papers-we-love/papers-we-love/blob/main/d...

    - https://riffle.systems/essays/prelude/

  • CS Journals and Magazines?
    1 project | /r/csMajors | 23 Jun 2023
  • Ask HN: Incremental View Maintenance for SQLite?
    2 projects | news.ycombinator.com | 12 Jun 2023
    The short ask: Anyone know of any projects that bring incremental view maintenance to SQLite?

    The why:

    Applications are usually read heavy. It is a sad state of affairs that, for these kinds of apps, we don't put more work on the write path to allow reads to benefit.

    Would the whole No-SQL movement ever even have been a thing if relational databases had great support for materialized views that updated incrementally? I'd like to think not.

    And more context:

    I'm working to push the state of "functional relational programming" [1], [2] further forward. Materialized views with incremental updates are key to this. Bringing them to SQLite so they can be leveraged one the frontend would solve this whole quagmire of "state management libraries." I've been solving the data-sync problem in SQLite (https://vlcn.io/) and this piece is one of the next logical steps.

    If nobody knows of an existing solution, would love to collaborate with someone on creating it.

    [1] - https://github.com/papers-we-love/papers-we-love/blob/main/design/out-of-the-tar-pit.pdf

  • Good papers for high school students?
    1 project | /r/computerscience | 9 Jun 2023
    Here is a great Repo on GitHub named paers-we-love. You will surely find some great papers there and also some good other resources. Hope this helps.
  • I think Zig is hard but worth it
    9 projects | news.ycombinator.com | 1 Jun 2023
    However, f and g are interchangeable anywhere else (this is not actually true because their addresses can be obtained and compared; showing that a C-like language retains its referential transparency despite the existence of so-called l-values was the point of what I think is the first paper to introduce the notion referential transparency to the study of programming languages: https://github.com/papers-we-love/papers-we-love/blob/main/l...)

What are some alternatives?

When comparing moodycamel and papers-we-love you can also consider the following projects:

Boost.Compute - A C++ GPU Computing Library for OpenCL

Crafting Interpreters - Repository for the book "Crafting Interpreters"

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

Flowgorithm-macOS - Flowgorithm for Mac OS

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

elm-architecture-tutorial - How to create modular Elm code that scales nicely with your app

readerwriterqueue - A fast single-producer, single-consumer lock-free queue for C++

clojure-style-guide - A community coding style guide for the Clojure programming language

RaftLib - The RaftLib C++ library, streaming/dataflow concurrency via C++ iostream-like operators

git-internals-pdf - PDF on Git Internals

libcds - A C++ library of Concurrent Data Structures

react-bits - ✨ React patterns, techniques, tips and tricks ✨