Actions
Feature #13183
openc++20 co-routines with boost::asio and boost::cobalt
Start date:
11/04/2024
Due date:
% Done:
0%
Estimated time:
Description
Hello,
Would it be possible to add the support for c++20 co-routines (via preprocessor macro, like WT_USE_CPP20_COROUTIES)?
Wt is already using boost::asio, so this could be utilized to provide this functionality.
boost::cobalt gives a nice functionality on top of the boost::asio.
Providing co-routines would greatly simplify the applications heavily depending on external resources that must be loaded on a separate thread and then continuation callbacks must be posted on the WebSession thread.
Kind regards,
Max.
Updated by Matthias Van Ceulebroeck 17 days ago
- Target version set to future
Hey max,
I generally like the idea, but the support for coroutines isn't yet complete on all platforms/compilers. I will schedule this for the future, as I do think this is really worth a second look soon!
Best,
Matthias
Actions