C++ Threadpool

Open-source C++ projects categorized as Threadpool

Top 8 C++ Threadpool Projects

  • Taskflow

    A General-purpose Parallel and Heterogeneous Task Programming System

  • Project mention: The Way We Are Building Event-Driven Applications Is Misguided | news.ycombinator.com | 2024-05-28

    > The set-theory approach is hard to do, but promising. Each object that wants something has a small set of the things it wants. There's a big pool of such sets. There's also a big pool of the items you have, which changes constantly. It's easy to express what you need to fetch and which objects are now ready to go as set intersection and difference operations. But you need representations for big sparse sets which can do set operations fast. Probably B-trees, or something in that space.

    Incremental updates to dynamic dependency graphs is a familiar problem for build tooling. I personally have used the taskflow C++ library (https://github.com/taskflow/taskflow) to great effect.

    > Microsoft Research fooled around with this concept years ago in a different context. The idea was to have a database which supported pending SQL queries. The query would return new results when the database changed such that the results of the query changed. The goal was to to support that for millions of pending queries. Financial traders would love to have that. It's a very hard scaling problem. Don't know how that came out.

    Incremental view maintenance is an active area of research. The likes of Noria and Materialize have done this with SQL, and the pg_ivm Postgres extension looks promising. Not sure if there is an equivalent implementation geared towards entity-component systems, though.

  • concurrencpp

    Modern concurrency for C++. Tasks, executors, timers and C++20 coroutines to rule them all

  • Project mention: Is anyone using coroutines seriously? | /r/cpp | 2023-12-05

    I am using concurrencpp for my project. What I like about it is that it's basically a thread pool factory with coroutines. It allows for better structuring / organizing of multithreaded work. So for me the main advantage of coroutines is that the code looks easier to follow

  • 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.

    InfluxDB logo
  • thread-pool

    BS::thread_pool: a fast, lightweight, and easy-to-use C++17 thread pool library

  • envpool

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

  • Project mention: How do I improve my SB3 PPO on an EnvPool environment | /r/reinforcementlearning | 2023-09-21

    I am looking to improve the overall performance as well as optimize the wall clock time. I slightly modified the code to develop a SB3 wrapper for envpool from here.

  • libfork

    A bleeding-edge, lock-free, wait-free, continuation-stealing tasking library built on C++20's coroutines

  • thread-pool

    A modern, fast, lightweight thread pool library based on C++20 (by DeveloperPaul123)

  • Project mention: C++ Show and Tell - June 2023 | /r/cpp | 2023-06-01

    I just released version 0.6.0 of my C++20 thread_pool library.

  • Threadpool

    Light, fast, threadpool for C++20 (by ConorWilliams)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • CommonPP

    Small library helping you with basic stuff like getting metrics out of your code, thread naming, etc.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C++ Threadpool related posts

  • The Way We Are Building Event-Driven Applications Is Misguided

    1 project | news.ycombinator.com | 28 May 2024
  • Improvements of Clojure in his time

    1 project | /r/Clojure | 16 Jun 2023
  • Taskflow: A General-Purpose Parallel and Heterogeneous Task Programming System

    1 project | news.ycombinator.com | 7 May 2023
  • How to go from intermediate to advance in C++?

    1 project | /r/cpp_questions | 18 Apr 2023
  • Learn performance improvement

    1 project | /r/cpp_questions | 22 Mar 2023
  • How do i make the main thread sleep while worker threads work and worker threads sleep when waiting for main thread to execute them

    2 projects | /r/cpp_questions | 4 Mar 2023
  • gcl v1.1 released - Graph Concurrent Library for C++

    2 projects | /r/cpp | 27 Jan 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 2 Jun 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Threadpool projects in C++? This list will help you:

Project Stars
1 Taskflow 9,649
2 concurrencpp 2,106
3 thread-pool 1,974
4 envpool 1,033
5 libfork 507
6 thread-pool 378
7 Threadpool 87
8 CommonPP 32

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com