News for hackers. Stuff that matters.
Re:Asynchronous Programming with Async and Await (C# and Vis... by kogir on Thursday September 29, 2011 @01:59PM (#3053510)
This is what sparked my interest in F# originally, and I love it. For the first time ever I'm willing to write async code regularly in C#. I can't wait for something like this to make its way to python (for twisted) or JavaScript (for node).
Re:Asynchronous Programming with Async and Await (C# and Vis... by RexM on Thursday September 29, 2011 @02:28PM (#3053641)
It looks like this functionality has been ported to node, have a look: https://github.com/koush/node/wiki/%22async%22-support-in-no...
Re:Asynchronous Programming with Async and Await (C# and Vis... by bitsai on Thursday September 29, 2011 @03:29PM (#3053875)
See this comment from MostAwesomeDude in a different thread:

http://news.ycombinator.com/item?id=3051142

Perhaps it would be interesting to see how it was done in Twisted: http://http://twistedmatrix.com/documents/current/api/twiste...

We'd like to think that the C# guys were looking our way when they came up with async/await, but there's no proof. :3

Re:Asynchronous Programming with Async and Await (C# and Vis... by sah on Thursday September 29, 2011 @04:05PM (#3054041)
I'm one of the authors of a Python framework called monocle for doing async programming in this style. It works with twisted and tornado. http://github.com/saucelabs/monocle