Taskflow
A General-purpose Parallel and Heterogeneous Task Programming System (by taskflow)
enkiTS
A permissively licensed C and C++ Task Scheduler for creating parallel programs. Requires C++11 support. (by dougbinks)
Our great sponsors
Taskflow | enkiTS | |
---|---|---|
24 | 8 | |
9,552 | 1,620 | |
2.1% | - | |
7.9 | 6.7 | |
4 days ago | 7 days ago | |
C++ | C++ | |
GNU General Public License v3.0 or later | zlib License |
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.
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.
Taskflow
Posts with mentions or reviews of Taskflow.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-27.
-
Improvements of Clojure in his time
For parallel programming nowadays, personally I reach for C++ Taskflow when I really care about performance, or a mix of core.async and running multiple load balanced instances when I’m doing more traditional web backend stuff in Clojure.
- Taskflow: A General-Purpose Parallel and Heterogeneous Task Programming System
-
How to go from intermediate to advance in C++?
Also, you can take a look to good libraries. The problem is that very often libraries are heavily templated, so It could be hard. For example, I like the style of the Taskflow library, I think is very clear, is relatively small, while makes use of more advanced techniques: https://github.com/taskflow/taskflow
-
gcl v1.1 released - Graph Concurrent Library for C++
Cool. Thanks! How does it compare to taskflow?
-
std::execution from the metal up - Paul Bendixen - Meeting C++ 2022
I've not seen yet, but it's been a bit since I looked last, any evidence of being able to build a computation graph and "save" it to re-run on new inputs. Something like https://github.com/taskflow/taskflow
-
Proper abstraction for this?
It seems you're describing something a generic parallel task framework. Check taskflow for a production ready example https://github.com/taskflow/taskflow/blob/master/
-
That one technology, question, or skill you never learned, and now you are haunted by during every new job conversation...
- https://github.com/taskflow/taskflow (I recommend to learn it first since its API and documentation are excellent)
-
Parallel Computations in C++: Where Do I Begin?
If you want some sort of "job" system, where you submit items to a some sort of queue to be processed in parallel, try searching for a thread pool - there isn't one in the standard library, but there's about a million implementations online. There are more complicated versions of that idea, that describe computation as a directed acyclic graph, such as taskflow.
-
High level overview of my custom game engine
The tooling decisions affect engine design though. For example if you want to have visual representation of job graph as it happened in specific frame of interest you need to pass the information around about job relationships and output it to a tool of choice. For example see https://github.com/taskflow/taskflow
-
Is there any good reason not to build an open-source C++ project on Intels oneTBB?
I am aware of DAGs of task based threading library like Taskflow and HPX however the benefit they have is not obvious to me, as the following sequential section depends on the parallel part being completed fully. If you want to suggest elaboration on the benefits of this approach would be welcome.
enkiTS
Posts with mentions or reviews of enkiTS.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-31.
-
Better use of threads
If you're open to using a task scheduler library, and want something lighter weight than the alternatives, my permissively licensed C and C++ Task Scheduler for creating parallel programs enkiTS would be a good fit for this.
-
enkiTS VS MTL - a user suggested alternative
2 projects | 28 Feb 2022
-
Reading voxel data from save files or generating voxel data should take place on...
Rather than a new background thread I would use a task/job system such as my own open source enki Task Scheduler (enkiTS).
-
CPU Path Traced Rendering in Avoyd (now released)
As always the multithreading for this is achieved using my permissively licensed C and C++ Task Scheduler for creating parallel programs, enkiTS.
-
Chunk loading on worker threads lags main thread
What tasking system are you using? If you're having problems with it you might want to try my enkiTS.
-
Hacker News top posts: Apr 4, 2021
enkiTS: A C and C++ Task Scheduler for creating parallel programs\ (15 comments)
- EnkiTS: A C and C++ Task Scheduler for creating parallel programs
-
Voxel Vendredi 74
GL_MAP_PERSISTENT_BIT for any data which is changed per-frame, such as constant buffers, particle data, SSBO data etc. This allows the data to be written in parallel (I use my tasking system enkiTS).
What are some alternatives?
When comparing Taskflow and enkiTS you can also consider the following projects:
tbb - oneAPI Threading Building Blocks (oneTBB) [Moved to: https://github.com/oneapi-src/oneTBB]
tensorflow - An Open Source Machine Learning Framework for Everyone
MTL - Multi Thread Library
HPX - The C++ Standard Library for Parallelism and Concurrency
imgui_markdown - Markdown for Dear ImGui
C++ Actor Framework - An Open Source Implementation of the Actor Model in C++
enkiMI - C and C++ Minecraft Importer library
entt - Gaming meets modern C++ - a fast and reliable entity component system (ECS) and much more
oidn - Intel® Open Image Denoise library
libunifex - Unified Executors
dflat - Structured Data Store for Mobile