parallel-cellular-automata
Lazy
Our great sponsors
parallel-cellular-automata | Lazy | |
---|---|---|
1 | 5 | |
10 | 109 | |
- | - | |
3.0 | 2.6 | |
10 months ago | 4 months ago | |
C++ | C++ | |
MIT License | The Unlicense |
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.
parallel-cellular-automata
-
Small C++ framework for building parallel cellular automata
A few months back I made a small framework for building parallel cellular automata in C++ for a university project. The code is here: https://github.com/gerzin/parallel-cellular-automata. Let me know what do you think about it.
Lazy
-
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.
What are some alternatives?
MTL - Multi Thread Library
oneTBB - oneAPI Threading Building Blocks (oneTBB)
coop - C++20 coroutines-based cooperative multitasking library
thread-pool - BS::thread_pool: a fast, lightweight, and easy-to-use C++17 thread pool library
thread-pool - A modern, fast, lightweight thread pool library based on C++20
not-enough-standards - A modern header-only C++ library that provides platform-independent utilities.
TDP - The Darkest Pipeline - Multithreaded pipelines for modern C++
coderrect-github-action - Coderrect is a static analyzer for concurrent C/C++/Fortran programs to detect data-races/race-conditions/anti-patterns.
rawspeed - fast raw decoding library
Taskflow - A General-purpose Parallel and Heterogeneous Task Programming System