An idea; Coroutines
Sebastiaan Koppe
mail at skoppe.eu
Tue Jan 16 20:23:01 UTC 2024
On Tuesday, 16 January 2024 at 14:20:41 UTC, Richard (Rikki)
Andrew Cattermole wrote:
> Coroutines! Oh coroutines.
Coroutines are nice, but for general asynchronous computation
you'll want something more abstract.
Have you seen the Sender/Receiver work in C++?
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2300r7.html#intro
I highly recommend understanding its working principles. Happy to
help answer questions of course.
We did an implementation at
https://github.com/symmetryinvestments/concurrency which I am
(very slowly) cleaning up and prepping for inclusion into Phobos.
More information about the Digitalmars-d
mailing list