cranelift
Taskflow
Our great sponsors
cranelift | Taskflow | |
---|---|---|
5 | 24 | |
2,493 | 9,552 | |
- | 1.7% | |
0.1 | 7.9 | |
almost 4 years ago | 3 days ago | |
C++ | ||
- | GNU General Public License v3.0 or later |
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.
cranelift
-
Are there any static single assignment based languages that are higher level than IR? (expected to be written by your average programmer)?
(And then I'd turn them into normal BBs internally, since cranelift found out they're not that great for optimizing: https://github.com/bytecodealliance/cranelift/issues/796.)
-
Minecraft running on a redstone CPU/GPU implemented in Minecraft, running on a custom Minecraft server (written in Rust) capable of performing redstone calculations 10,000x faster than vanilla Minecraft
I was joking but thats almost what they are doing. Instead of using LLVM they're using cranelift for JITting
-
Replacing default codegen in rustc
Replace it with what, and why? There are codegen backends using Cranelift and GCC, but they are not feature complete yet.
-
Learning Clojure made me return back to C/C++
Thanks for taking the time to provide a detailed response. Need to think on this. I had actually started a regular Clojure parser using LLVM as a hobby, but then my friend said it was better to implement this in a safe-memory and. save-concurrency language like Rust and leverage cranelift for code generation. So, now I am learning rust, lol. (Btw, Rust has a persistent data structures lib too: https://github.com/orium/rpds )
- Open Discussion: To EBB or not to EBB
Taskflow
-
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.
What are some alternatives?
entt - Gaming meets modern C++ - a fast and reliable entity component system (ECS) and much more
tbb - oneAPI Threading Building Blocks (oneTBB) [Moved to: https://github.com/oneapi-src/oneTBB]
moodycamel - A fast multi-producer, multi-consumer lock-free concurrent queue for C++11
tensorflow - An Open Source Machine Learning Framework for Everyone
rust - Empowering everyone to build reliable and efficient software.
HPX - The C++ Standard Library for Parallelism and Concurrency
rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266
C++ Actor Framework - An Open Source Implementation of the Actor Model in C++
pest - The Elegant Parser
rpds - Rust persistent data structures
libunifex - Unified Executors