netcan / asyncio

asyncio is a c++20 library to write concurrent code using the async/await syntax.
MIT License
812 stars 80 forks source link

Compatability with cppcoro #19

Open russkel opened 1 year ago

russkel commented 1 year ago

Hello,

Great library, thanks for your work. I have a question regarding using the other coroutine types found in https://github.com/andreasbuhr/cppcoro with asyncio. Is there a lot of work being able to support these? I am a bit naive as to how this works as I have only very briefly looked over the code in both libs.

Cheers,

Russ

netcan commented 1 year ago

cppcoro and asyncio are two different style projects. this project is designed for learning C++ coroutine features, some ideas were borrowed from cppcoro.

russkel commented 1 year ago

Mainly I was interested in async_auto_reset_event and the shared_task types. Okay so I will have to port them to asyncio.