6 ms·
F5 load balancers still use Tcl, albeit a modified and optimised version. If anyone is reading this article and thinking "Gee, I wish I could get a job writing
by ZoFreX 12y ago
F5 load balancers still use Tcl, albeit a modified and optimised version.
If anyone is reading this article and thinking "Gee, I wish I could get a job writing Tcl", hit me up.
- marktangotango 12y agoiRules are a horror that should've been killed at birth.
- ciupicri 12y agoFor me it's more like gee, I had a job writing Tcl and it was so much "fun". I've just tried the example from "Read messages chunk by available chunk" and got: invalid command name "handle_data sock4" while executing "[list handle_data $chan] " (procedure "handle_client" line 8) invoked from within "handle_client sock4 127.0.0.1 40642" I replaced [list handle_data $chan] with a plain handle_data $chan, but then another bug come up: invalid command name "buf" while executing "buf sock4,data_ready write" (write trace on "buf(sock4,data_ready)") invoked from within "set buf($chan,data_ready) 0" (procedure "handle_data" line 4) The fun never stops :-) In a way Tcl makes shell scripting (Bash) look wonderful because at least there you can't expect much from it, whereas Tcl presents itself more like a "real", full-blown programming language.
- adunsmoor 12y agoYour error looks like there might be an extra space after the line continuation (backslash) in the example. The trace command is split in to 2 lines for readability but the web page's formatting introduced a hidden space if you try to copy/paste the example in to a tcl script.
- ciupicri 12y agoYes, you're right.
- kjs3 12y agoThe Cisco IOS operating system includes TCL scripting as well.