Twisted and Evented Programming in Python
Kenneth and Wynn caught up with Glyph Lefkowitz from Twisted to talk about the project and evented programming in Python.
Kenneth and Wynn caught up with Glyph Lefkowitz from Twisted to talk about the project and evented programming in Python.
Changelog++ members support our work, get closer to the metal, and make the ads disappear. Join today!
Featuring:
Show Notes:
- Glyph Lefkowitz is creator of Twisted.
- Twisted is an event-driven networking engine written in Python.
- Twisted has its origin in the game Divmod Imaginary.
- Glyph says Twisted programming is easier than programming with gevent and eventlet.
- Twisted.web is the most popular package, but Twisted supports a wide range of other protocols in addtion to HTTP including NNTP, IMAP, SSH, IRC, FTP, and others.
- Twisted even supports IO Completion Ports on Windows.
- Twisted’s non-blocking approach makes it great for GUI programming via GTK+, wxPython, and more, even Pygame.
- Glyph expands on his blog post drawing distinctions between Tornado and Twisted.
- Benchmark nerds should check out speed.twistedmatrix.com.
- Dustin Sallings ported Tornado to Twisted’s low-level networking stack and eliminated over 1,200 lines of code.
- Twisted success stories include LucasFilm, HipChat, TweetDeck, Justin.tv, and more.
- Twisted also powers OpenStack, used by Nasa to run its cloud.
- Glyph is proud of his rock star sister Sara.
- Twisted tracks high scores for community involvement in 8-bit beauty.
- Free Changelog stickers for the first person to @reply us with Glyph’s real name.
Something missing or broken? PRs welcome!