Re:Async I/O for Python 3
by pekk on Monday March 18, 2013 @02:10PM
(#5396017)
Still puzzled why the primary inspiration for this is Twisted, which has some really ugly APIs.
[ Parent
| on HN ]
Some people stick with what they know. Twisted is horrible to work with though
Re:Async I/O for Python 3
by zubinmehta on Monday March 18, 2013 @03:03PM
(#5396400)
that rhymed!
Twisted with inlineCallbacks is actually quite nice IMO. It's very similar to C# async/await.
Twisted's inlineCallbacks singlehandedly turn Twisted in my mind from an abomination into something that is a joy to work with. In lei of a more hands off Erlang/Go approach, I am convinced that style is the only way to go.
Re:Async I/O for Python 3
by stock_toaster on Tuesday March 19, 2013 @01:45AM
(#5399183)
inlineCallbacks made twisted palatable. It didn't make it good.
Re:Async I/O for Python 3
by lucian1900 on Tuesday March 19, 2013 @01:06PM
(#5402132)
Twisted has excellent APIs. Its Transport and Protocol abstractions in particular are extremely handy.