Co

Coros – A Modern C++ Library for Task Parallelism

Hacker News

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 card

Actual performance

129points
58comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Strong signals: para · Missing: supports, reddit linkedin, podcasting
76%76% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: new, tasks, using · Missing: mac, agents, macos
62%62% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: hacker news, io · Missing: https docs, excited, just released
56%56% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
40%40% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: para · Missing: mobile apps, ios, personal
37%37% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
11%11% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

La
Lark, a modern parsing library with Earley and LALR(1) implementations64%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Lark, a modern parsing library with Earley and LALR(1) implementations

Hacker News15
Ex
Externalized Properties, a modern Java configuration library48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Externalized Properties, a modern Java configuration library

Hacker News11
DT
DTasks – a zero-abstraction Durable Task library61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

DTasks – a zero-abstraction Durable Task library

Hacker News2
A
A minimal and idiomatic modern C++ dataframe library59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A minimal and idiomatic modern C++ dataframe library

Hacker News2
To
Torchmtl a pytorch library for multi-task learning43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Torchmtl a pytorch library for multi-task learning

Hacker News6
La
Lark, a modern parsing library for Python implementing Earley and LALR(1)51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Lark, a modern parsing library for Python implementing Earley and LALR(1)

Hacker News1
ma
mario.py, a convenience library for i/o35%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

mario.py, a convenience library for i/o

Hacker News2
Li
Livewire: Livescript microrouting library51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Livewire: Livescript microrouting library

Hacker News2
A
A Dropbox library for Go54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Dropbox library for Go

Hacker News3
Dj
Django passbook library released47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Django passbook library released

Hacker News1