Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrapping C++ async APIs in Rust futures #67

Open
pcwalton opened this issue Mar 19, 2021 · 1 comment
Open

Wrapping C++ async APIs in Rust futures #67

pcwalton opened this issue Mar 19, 2021 · 1 comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed status-quo-story-ideas "Status quo" user story ideas

Comments

@pcwalton
Copy link

  • Brief summary: Grace wants to wrap C++ async APIs using the C++23 executor API in Rust futures and use them from a Tokio app.
  • Character: Grace
  • Key points or morals (if known):
    Cancellation is the hard part here, because dropping a C++ task is undefined behavior while in Rust this is idiomatic. C++ tasks can close over non-owning references that are expected not to go away while the operation is in flight, so this is important. We want to make C++ async APIs easy to use with as little runtime overhead as possible.
@pcwalton pcwalton added good first issue Good for newcomers help wanted Extra attention is needed status-quo-story-ideas "Status quo" user story ideas labels Mar 19, 2021
@nikomatsakis
Copy link
Contributor

@pcwalton and I had a good chat about this, we took notes in this hackmd. I would like to turn it into a status quo story.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed status-quo-story-ideas "Status quo" user story ideas
Projects
None yet
Development

No branches or pull requests

2 participants