The possibilities offered by Tcl go far beyond plain CGI scripting—the entire web server can be written using this language. But before you eagerly start writing your own, know that this task was already done by Brent Welch, the author of
TclHttpd—the powerful web server completely implemented using the Tcl language. The author claims that at the beginning the entire code had about 175 lines. Tcl's input/output subsystem is well crafted, and it offers maximum usability with minimum coding.
The homepage of
TclHttpd is located at http://www.tcl.tk/software/tclhttpd/. The latest available officially released version 3.5.1 was released on May 27th, 2004.This is both bad and good information: the code is pretty old and not ...