TCL is a nice simple programming language, but does not seem to get the 开发者_如何学Gocredit and/or respect it deserves. I learned it back in 1995 in college and promptly forgot about it only to stumble upon it again recently. I am mostly interested TCL for developing TCP-based network services as well as for web development.
It has been mentioned that TCL makes network programming simple. However, it seems that TCL uses select() under the covers which does not scale well with "web scale" in mind (see the C10K problem). I have searched for support for libevent, libev, raw epoll/kqueue but I don't see much.
Do you know of any "modern" (for lack of a better term) event-based network services written in TCL? Do you have any pointers, tips, or best practices for TCL-based server development?
Thanks!
There's discussion of this on comp.lang.tcl last year and it appears that the status is: "The core team is thinking about it":
http://groups.google.com/group/comp.lang.tcl/browse_frm/thread/ce3a82f8a13d35fa/f57cea952ab69ecd
For web servers there is AOLserver which implements poll()
under the covers. Of course, you can also run mod_tcl/rivet/websh under Apache.
精彩评论