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:…
In plain words
Coros is a C++ library for task-based parallelism built using modern standard library features including coroutines and C++23 expected for exception handling. It provides monadic-like behavior for chaining tasks together. The library is designed for developers working with parallel computing in C++ who want to leverage contemporary language features instead of traditional frameworks like OpenMP or oneTBB. The project is currently experimental and under development.
written from the facts on this page · September 2026
From the sources
In the maker’s words, at launch
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!
More work this month
the category →


The app store for voice native apps that lives in your notch
Work · 28d ago · voiceos.com

The New Calendly▲211Handle all of the work before, during, and after meetings
Work · 17d ago · calendly.com
Launched alongside, September 2024
the whole month →

BeforeSunset AI 2.0▲1,267Personalized AI daily planning that suits your life
AI · 2024 · beforesunset.ai


