On Saturday, 14 June 2014 at 07:53:17 UTC, bearophile wrote:
In this post:
http://forum.dlang.org/post/[email protected]
Walter said, in November:
I agree that async/await has to eventually be added to D. I'm
not
convinced it can or should be done with AST macros.
But this blog post shows why the rigid features of C# are not
always the best and the Computation Expressions of F# give more
flexibility:
https://mrange.wordpress.com/2014/05/29/why-i-wish-c-never-got-asyncawait/
More info on the Computation Expressions of F# (found at the
top of a Google search, but also found to be the best
references on this topic):
tomasp.net/academic/papers/computation-zoo/computation-zoo.pdf
http://msdn.microsoft.com/en-us/library/dd233182.aspx
http://en.wikibooks.org/wiki/F_Sharp_Programming/Computation_Expressions
http://fsharpforfunandprofit.com/series/computation-expressions.html
Bye,
bearophile
Can't we use Fibers to get something similar?