3 ms·
Yes, in my (limited) use case with coroutines for a recursive descent generator I got it working by following this tutorial: https://www.scs.stanford.edu/~dm/b
by indigoabstract 3y ago
Yes, in my (limited) use case with coroutines for a recursive descent generator I got it working by following this tutorial:
https://www.scs.stanford.edu/~dm/blog/c++-coroutines.html https://www.scs.stanford.edu/~dm/blog/c++-coroutines.html
but I was unpleasantly surprised by much extra code it required to make it run.
The Tiny Fiber library in the article looks pretty hacky right now and the amount of x64/arm specific code might cause trouble with portability, but the concept itself is intriguing. Thank you for the details.