Hacker News new | ask | show | jobs
by MostAwesomeDude 5381 days ago
Perhaps it would be interesting to see how it was done in Twisted: http://twistedmatrix.com/documents/current/api/twisted.inter...

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

2 comments

I love the way Twisted does it. Completely part of the way the language is supposed to work. It's a work of art IMO.
Isn't this the best way so far to do these things? It turns asynchronous code into synchronous. I seem to remember Guido recommending this approach too.