Coros – A Modern C++ Library for Task Parallelism
Coros – A Modern C++ Library for Task Parallelism
Hello Hacker News. I’m Martin, a graduate student from Prague, and I’ve been working on Coros, a C++ library for task-based parallelism. After spending some time with OpenMP and oneTBB, I wanted to try building a library using modern features from the C++ standard library. I’ve used coroutines for task encapsulation and C++23 expected for exception handling, while trying to maintain good performance. Additionally, I’ve implemented monadic-like behavior to allow easy chaining of tasks, similar to the monadic operations in std::expected. You can check out the project here: https://github.com/mtmucha/coros While this library isn’t fully-fledged or production-ready, I’d really appreciate your feedback!
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
Lark, a modern parsing library with Earley and LALR(1) implementations
Externalized Properties, a modern Java configuration library
DTasks – a zero-abstraction Durable Task library
A minimal and idiomatic modern C++ dataframe library
Torchmtl a pytorch library for multi-task learning
Lark, a modern parsing library for Python implementing Earley and LALR(1)
mario.py, a convenience library for i/o
Livewire: Livescript microrouting library
A Dropbox library for Go
Django passbook library released