-
-
Notifications
You must be signed in to change notification settings - Fork 240
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
coroutines TS #92
Comments
Hello Trass3r, I agree. Funny thing, just yesterday I thought about this. I will have a look and see what I can do here. |
Thanks for contributing to this issue. As it has been 60 days since the last activity waiting for a followup. This issue will be automatically closed in 7 days, if no further activity occurs. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please respond before the issue is closed. We'll gladly take a look again! In any case, thank you for your contributions! |
Sorry, I'm testing stale bot and it does exactly the opposite of what I want. This issue will remain open. |
Hi. @andreasfertig :) Is there any progress with this ? Is it possible to contribute ? (nothing to show yet, just asking) |
Hello @grishavanika, thanks for asking. Currently, I'm busy with a larger rewrite to transform even more code and to support generic lambdas. I have a private branch where I made some progress with coroutines. As they are now officially part of C++20 things are a bit easier (no additional option is required to activate them). Examples of coroutines and how the transformed code looks like would help me. In general, I'm not sure how this transformation turns out and if it is helpful at all. However, I plan to approach some people more familiar with coroutines. All that said, if you like to jump in I can push my development branch or you start something of your own. Andreas |
See #92 (comment) |
Hello @Trass3r, I know that, thanks. I just like more data. Plus some things are not 100% clear to me. But, I have to check the branch, its been a while since I made changes to it. I will push it and let you know. Andreas |
This is an early (buggy) and incomplete draft of how to visualize coroutines.
Hello all, I just pushed my draft development branch. The entire branch is more or less just to show what new statements are available and tries to format them. I'm not clear on:
Probably there are more things, but that is what I remember so far. Feel free to contribute. Andreas |
Hello, I wrote up a blog post about implementing coroutines in C++ Insights. There are quite some bummers. You can find it here andreasfertig.blog/2019/09/coroutines-in-c-insights.html. In addition to decide what to do I set up a Twitter poll you can take. Andreas |
For more information see docs.cppinsights.io/transformations-coroutines.html.
Fixed #92: Added support to show coroutines as written.
For more information see docs.cppinsights.io/transformations-coroutines.html.
Would be useful to see the implemented state machine if that's possible.
https://godbolt.org/z/q6rOaN
The text was updated successfully, but these errors were encountered: