Lazy
Light-weight header-only library for parallel function calls and continuations in C++ based on Eric Niebler's talk at CppCon 2019. (by tirimatangi)
oneTBB
oneAPI Threading Building Blocks (oneTBB) (by oneapi-src)
Lazy | oneTBB | |
---|---|---|
5 | 14 | |
110 | 5,311 | |
- | 1.5% | |
2.6 | 8.9 | |
4 months ago | 5 days ago | |
C++ | C++ | |
The Unlicense | Apache License 2.0 |
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.
Lazy
Posts with mentions or reviews of Lazy.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-24.
-
A fast, single queue thread pool created with C++20
Benchmarks is indeed a good question. Here is a C++17-style library for parallel function calls which avoids std::{function, future, promise} and uses disposable threads for running the functions. I have run a few benchmarks against a typical thread pool which uses a mutex and a condition variable and a vector of threads.
-
for_each with plain integers
You might consider using this header-only library.
-
Does Execution Policy in std::transform in gcc have any effect?
Using Lazy the simple header-only parallel library found here in Github.
-
Therads in Cpp
Unless you really want to play with "raw" C++ threads, you may be able to completely avoid them by using a library like this one. See the simple examples on the main page and check if they would suit your application.
-
How to force your code to use all CPU cores? In an efficient manner.
This header-only library might come in handy when experimenting with parallel functions. You can run any number of functions in parallel and gather the results conveniently. Take a look at the examples on the main page in Github and see if you find them useful.
oneTBB
Posts with mentions or reviews of oneTBB.
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
Use a library like https://github.com/oneapi-src/oneTBB
-
Help installing EngineFixesVR
tbb
-
Use CMake to build a submodule (dependency) and install to specific location?
I have a project that depends on Intel's oneTBB. My project is structured as follows:
-
Task scheduler with CPU affinity
Intel TBB is still being maintained, it's just renamed to "OneAPI". The TBB part can be found here: https://github.com/oneapi-src/oneTBB
-
Modern Software Development Tools and oneAPI Part 1
$ cd /tmp $ wget https://github.com/oneapi-src/oneTBB/releases/download/v2021.7.0/oneapi-tbb-2021.7.0-lin.tgz
- CK2 doesn't launch on macOS Ventura
-
Parallel Computations in C++: Where Do I Begin?
For a more fully featured version of that idea with parallel algorithms and data structures, there are libraries like Thread Building Blocks.
-
A vision of a multi-threaded Emacs
Users should work with higher level primitives like tasks, parallel loops, asynchronous functions etc. Think TBB, Thrust, Taskflow, lparallel for CL, etc.
-
oneTBB VS MTL - a user suggested alternative
2 projects | 28 Feb 2022
-
Can I use more threads in my program than the hardware supports?
Consider using oneAPI Threading Building Blocks instead of naked threads.
What are some alternatives?
When comparing Lazy and oneTBB you can also consider the following projects:
thread-pool - BS::thread_pool: a fast, lightweight, and easy-to-use C++17 thread pool library
tbb - oneAPI Threading Building Blocks (oneTBB) [Moved to: https://github.com/oneapi-src/oneTBB]