Am 05.01.2014 17:01, schrieb Amitabh Arya:
> Is Autobahnws better with Asyncio or with twisted and why?
What do you like better - chocolate or vanilla ice cream?
;)
No, seriously: they both have different characteristics, and it depends
on your specific requirements and taste.
That being said:
asyncio is much younger, but is _included_ in every Python 3.4 default
installation.
asyncio has a more limited scope - eg Twisted has builtin support for
quite a few protocols (HTTP, SSH, IRC, FTP, ..).
Both are driven by very smart guys: Glyph (Twisted) and Guido (asyncio).
Both are here to stay (that's a prediction of course .. but I'd say a
pretty safe one).
It's your choice.
I think it's good that AutobahnPython does not force you into one or the
other, but leaves the decision to you. Same for Python 2 vs 3.
In fact, AutobahnPython is the only WebSocket (and real-time) framework
that supports both Twisted and asyncio.
/Tobias