NVIDIA / stdexec

`std::execution`, the proposed C++ framework for asynchronous and parallel programming.
Apache License 2.0
1.56k stars 159 forks source link

difference between 'libunifex' and 'stdexec' #789

Closed emmett2020 closed 1 year ago

emmett2020 commented 1 year ago

I see there are two libraries that implements 'P2300R6' proposal, stdexec and libunifex。Though they are similiar in most situations, a little differences also exists. For example, 'libunifex' not support 'start_detached' API. So, what's the real difference between libunifex and stdexec ? Hope someone could give me some comparions :)

OBorce commented 1 year ago

some discussion on Reddit

emmett2020 commented 1 year ago

some discussion on Reddit

thanks, that's maybe what I need. I'll carefully read it.

villevoutilainen commented 1 year ago

stdexec tracks the P2300 proposal (or vice versa, if you want to look at it that way), and they update hand-in-hand. libunifex is an earlier prototype, and is not kept up to date when changes are made to P2300 or its reference implementation, i.e. stdexec.