In five minutes, the creator and BDFL of Python Guido van Rossum will give a talk at LinkedIn, Mountain View about Tulip (asynchronous I/O for Python 3).
Man, is twisted cursed or what? By that I mean it provides a great framework for asynchronous things and does it in the what you might call the node.js style with callbacks except it has great engineering, and yet no one seems to know about it or care very much.
> and yet no one seems to know about it or care very much.
I'm not sure how you've come to this conclusion.
Two of my last three jobs used Twisted, one of them very heavily. Pretty much every conference I've been to has had several Twisted talks, and they've all been well attended. Blog posts of problem solving using Twisted come up here, on Reddit, and elsewhere. It's reasonably popular.
1. twisted seems to have made some design decisions only to support windows. A quick glance at the tulip api shows a clear separation of these models (i.e. proactor vs reactor)
2. the new 'yield from' (which I think is a more awkward name than 'await') is much more pythonic/readable than callbacks.
3. they're trying to standardize on an event loop interface (like they standardized on WSGI, I believe)
I haven't used twisted, but coworkers that tried to prototype something in it on Linux got sucked into a tarpit of no return, and wasted a huge amount of time. (they did not try the build a simple prototype and throw it away trick, unfortunately)
So no, twisted is not cursed, people are either happily using it or figuring out how to write something more intuitive, like every other piece of software on the planet.
[+] [-] 0xdeadbeefbabe|12 years ago|reply
[+] [-] est|12 years ago|reply
This is why.
Twisted: http://twistedmatrix.com/documents/current/api/moduleIndex.h...
Gevent http://gevent.org/contents.html
[+] [-] thezilch|12 years ago|reply
We've been using this stuff before Node even came out.
[+] [-] kashif|12 years ago|reply
PS: I say this from reading the codebase and using it extensively to write a production BOSH server.
[+] [-] briancurtin|12 years ago|reply
I'm not sure how you've come to this conclusion.
Two of my last three jobs used Twisted, one of them very heavily. Pretty much every conference I've been to has had several Twisted talks, and they've all been well attended. Blog posts of problem solving using Twisted come up here, on Reddit, and elsewhere. It's reasonably popular.
[+] [-] penguindev|12 years ago|reply
I haven't used twisted, but coworkers that tried to prototype something in it on Linux got sucked into a tarpit of no return, and wasted a huge amount of time. (they did not try the build a simple prototype and throw it away trick, unfortunately)
So no, twisted is not cursed, people are either happily using it or figuring out how to write something more intuitive, like every other piece of software on the planet.
[+] [-] mladenkovacevic|12 years ago|reply
[+] [-] INTPenis|12 years ago|reply
http://www.youtube.com/watch?v=1coLC-MUCJc
[+] [-] Spiritus|12 years ago|reply