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

Adopt C++2a coroutines and io_uring #71

Open
markpapadakis opened this issue Oct 9, 2019 · 0 comments
Open

Adopt C++2a coroutines and io_uring #71

markpapadakis opened this issue Oct 9, 2019 · 0 comments
Assignees

Comments

@markpapadakis
Copy link
Member

C++2a coroutines are extremely powerful. As far as I am concerned, its the most important high-impact feature to be introduced in the langue together with lambdas and move semantics.

We will use c++2a coroutines to improve the performance of TANK, by moving potentially expensive tasks off the main reactor thread to thread pools, and by potentially switching to a different I/O design based on io_uring or something else where we 'll just suspend the current coroutine until the I/O operation is complete and the coroutine can be resumed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant