Tcl/Tk and Java

Tcl/Tk and Java are siblings in a family of products for programming the Internet.

Tcl is a high-level scripting language. With Tcl you can create small and medium-sized applications incredibly quickly and you can easily glue together existing things. It has a simple syntax and almost no structure, which makes it good for scripting. However, Tcl is an interpreted language so it may not perform well for very large tasks that involve highly iteractive calculations. Think of Tcl as something like the UNIX shells, except that it is embeddable and portable and can be used for Internet scripting.

Java, on the other hand, is a system programming language like C or C++. It is much more structured than Tcl. This means that it takes more code to do basic things in Java, but Java's structures make it easier to build large complex applications. Java is also compiled, which results in greater efficiency, and Java supports multi-threading, whereas Tcl does not.

Tcl/Tk and Java can provide a sort of symbiosis, where Java is great for building new primitives and Tcl/Tk is great for hooking them together into exciting applications.

Here are some examples of how you might use Tcl/Tk and Java either separately or together: