-
Notifications
You must be signed in to change notification settings - Fork 732
Tracking Issue: Async support for C++ binding #5194
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Feature Description
Problem and Solution
We can add async support for C++ binding since C++20 coroutine is already a widely-used feature.
By utilizing cxx-async lib, we can generate interop code between Rust async/await and C++20 coroutines.
For C++ coroutine runtimes, cxx-async currently supports cppcoro and folly. We can further add support of asio and (maybe) libunifex, since asio is the de-facto networking lib and libunifex is the impl of std::execution which will be merged into c++26? (29? 32?).
For other coroutines (mostly stackful coroutine libs), like Boost.Fiber, Boost.Coroutine2, currently it's out of our interest.
Additional Context
- feat(bindings/cpp): init the async support of C++ binding #5195
- docs support feat(bindings/cpp): cpp async op && reader, lister #6228
- async reader/lister support feat(bindings/cpp): cpp async op && reader, lister #6228
- ...
Are you willing to contribute to the development of this feature?
- Yes, I am willing to contribute to the development of this feature.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Fields
Give feedbackNo fields configured for issues without a type.