News for hackers. Stuff that matters.
Re:Show HN: A thread hierarchy management library in C by Koshkin on Monday July 13, 2020 @10:02AM (#23820867)
And for those of us who write C++ there's always Intel's Threading Building Blocks. (Not sure if any other language has something equal in power and convenience.)
Re:Show HN: A thread hierarchy management library in C by mratsim on Tuesday July 14, 2020 @06:15AM (#23830223)
I've written Weave for the Nim programming language:

- https://github.com/mratsim/weave

- RFC that describes the goals: https://github.com/nim-lang/RFCs/issues/160

Re:Show HN: A thread hierarchy management library in C by dman on Monday July 13, 2020 @10:58AM (#23821439)
Would openmp fit in with how you use TBB? In the past I have used them to solve similar problems.
Re:Show HN: A thread hierarchy management library in C by Koshkin on Monday July 13, 2020 @12:07PM (#23822294)
TBB is based on the use of nested threads. We rely on much of what TBB has to offer, which includes concurrent containers and flowgraphs. Here's a nice overview by Mike Voss of what makes TBB different from OpenMP and C++ standard threading: https://software.intel.com/content/www/us/en/develop/article....