3 ms·
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 some
by kogir 15y ago
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).
- RexM 15y agoIt looks like this functionality has been ported to node, have a look: https://github.com/koush/node/wiki/%22async%22-support-in-node.js https://github.com/koush/node/wiki/%22async%22-support-in-no...
- bitsai 15y agoSee this comment from MostAwesomeDude in a different thread: http://news.ycombinator.com/item?id=3051142 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/twisted.internet.defer.html#inlineCallbacks 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
- sah 15y agoI'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 http://github.com/saucelabs/monocle