Is this the worlds smallest HTTP server?
June 2, 2008
Python is something that I’ve been looking into lately, mainly because I use Jython a lot at work in administering our Websphere Application Servers (their admin shell makes extensive use of it). More recently though I’ve been thinking that maybe I should be looking more seriously at it. It wasn’t that long ago that Google released their App Engine which currently only runs Python apps. This is really exciting stuff for anyone interested in cloud computing.
Anyway in my travels I stumbled upon what is possibly the smallest application server implementation I’ve seen in my life, written by Pierre Quentel. Admittedly it’s pretty limited in functionality, but I thought it was quite a nice demonstration by Pierre of the power of Python as a language and the breadth and depth of the standard libraries. Amazingly it even handles sessions!
You can check out the full post at: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/392879
I’d be interested to see if anyone has come across anything smaller, that demonstrates the relative ease and elegance of implementation in one language versus another (I’m sure that some of your Perl guys have something amazing up your sleeves).