ANN: Twisted 1.1.1
John J. Lee
jjl at pobox.com
Thu Dec 11 18:42:53 EST 2003
More information about the Python-list mailing list
Thu Dec 11 18:42:53 EST 2003
- Previous message (by thread): ANN: Twisted 1.1.1
- Next message (by thread): ANN: Twisted 1.1.1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Richie Hindle <richie at entrian.com> writes: > [Jarek] > > Most of the world still blocks execution with synchronous sockets. Event > > driven programming is not a wholly accepted idea. > > I just came across this in Moshe Zadka's blog. Not strictly relevant but > it made me smile: > > "The correct way to explain [async programming] is as some kind of Zen, > and even Buddhism. > > In order to program on the network, which is filled by buggy and evil > agents, one must give up all expectations. One must sit quietly, without > desires to plague the flesh, quietly meditating. Only when an event is > received, one must react to it, and then get back to meditating. In this > way, enlightment is achieved. This is why async systems have no read() > call. Reading from the network means you have expectations of what will > arrive. If it doesn't, your hopes are shattered. If you have no hopes to > shatter, you cannot be disappointed." :-) Now, if he'll just publish that in a glossy magazine and make asynchronous network programming fashionable... then half of all programmers will mindlessly stop using threads even when *they're* the sane way to do the job :-( John If you ever reach total enlightenment while you're drinking a beer, I bet it makes beer shoot out your nose. Jack Handey
- Previous message (by thread): ANN: Twisted 1.1.1
- Next message (by thread): ANN: Twisted 1.1.1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list