|XOTcl - Download and Availability|
[What is XOTcl?]
The most recent version of XOTcl 1 is 1.6.8. Note that the forthincoming major release of XOTcl (XOTcl 2.0) is based on the Next Scripting Framework. If your application requires Tcl 8.4, you have to stick to the XOTcl 1 series, since the Next Scripting Framework requires Tcl 8.5.
For XOTcl 1, we provide a source code distribution and binary distributions for Windows and Linux. XOTcl is now included as well in all major binary distributions of Tcl such as in ActiveTcl of ActiveState (included in the Core Package, binaries for the Windows family, Linux, Solaris and HP-UX) and Tcl/Tk Aqua (part of the 'batteries included' version TclTkAquaBI for Mac OsX).
Generally, a Tcl installation is needed as a pre-requirement for XOTcl. Practically all Linux distributions (such as RedHat, Suse, Fedora Core, Debian etc.) contain Tcl. If you want to compile the source code of XOTcl on your system you will require the Tcl sources as well.
The XOTcl distribution includes:
Binary DistributionsBinary distributions contain the compiled files for noted operating systems as well the ActiWeb packages.
Debian/Ubuntu DistributionStarting with XOTcl 1.6.0, release packages for XOTcl are available for Debian GNU/Linux which are co-maintained with the Debian Tcl/Tk maintainer team. Moreover, you will find XOTcl in upcoming Ubuntu releases, starting with Ubuntu 8.10 "Interpid Ibex". The most recent XOTcl distributions are contributed to Debian unstable (sid) within days after their release. Beware delays between actual release dates and Debian uploads due to the Debian upload procedure. Once meeting certain criteria of quality, the XOTcl packages are automatically included into Debian testing (lenny). As for Ubuntu, the package versions in Debian unstable are reguarily imported early in the development cycle of Ubuntu releases. Therefore, starting with Ubuntu 8.10 "Intrepid Ibex", XOTcl packages will available for Ubuntu as well.
For details and pointers to the Debian source package see the Debian package tracker. Ubuntu-related infos may be found at the Ubuntu package tracker. Please, report packaging-related issues according to the Debian guidelines.
Supplemental Resources for XOTclAOLserver, which is a high performance multi-threaded web server, able to serve up to 28000 hits per second in real world applications (for more details see the introduction to AOLserver by Phil Greenspun ( Part 1, Part 2, Part 3, and Part 4).
For versions earlier than 4.0 AOLserver needed a special initialization so it cannot load simply arbitrary tcl modules. These modules need special stubs and they have to be thread-safe. XOTcl contains now these stubs. However, AOLserver needs a small patch for AOLserver 3.* for XOTcl, which was developed by Zoran Vasiljevic see README.
Starting with AOLserver 4.0 XOTcl can be loaded into the AOLserver without any patch. For using predefined XOTcl classes in all connection threads a file xotcl.tcl is loaded into the modules directory of the aolserver. The following commands can be used to compile XOTcl and install it into the appropriate places of the specified aolserver:
# cd xotcl-1.6.8 # CC=gcc;export CC ./configure --enable-threads --enable-symbols \ --prefix=/usr/local/aolserver \ --exec_prefix=/usr/local/aolserver \ --with-tcl=/usr/src/tcl8.4.19/unix # make # make install-aol
Since XOTcl depends on Tcl, Tcl has to be installed properly on your system. Since XOTcl needs tclInt.h, some installations might require to install a development version of Tcl. XOTcl is tested with Tcl 8.4 (8.4.19), 8.5 (8.5.8) and 8.6b1.
Tcl can be from the Tcl Developer Exchange Page
and from several mirrors.
Patch for Tcl to support XOTcl-specific Byte-Code instructionsThis is a patch for tcl 8.4a3 for performance hungry applications to provide special byte-code-support for xotcl, that yields for classical benchmark programs up to 40%. Warning: This patch is not likely to be integrated into the general Tcl core in the new or distant future. We will try to find a way to achieve a similar or higher performance increase by working with the Tcl-core developers towards a better version of the xotcl-bytecode mechanisms. To use this patch, compile Tcl with -DUSEROPCODE (after applying the patch) and XOTcl with -DXOTCL_BYTECODE.
GDBMThe xoStore component of XOTcl is shipped together with a language binding of GDBM for XOTcl. In order to compile the gdbm support yourself, GDBM must be installed properly on your system. (GDBM is available e.g. http://www.gnu.org/software/gdbm/)). An experimental Windows port of GDBM can be found in Stefan Vogel's TclGdbm distribution.
EmacsFor (X)Emacs-users, we offer the XOTcl aware lisp files (which are modifications of the XEmacs 20.4 distribution):
Previous XOTcl DistributionsXOTcl 1.6.7
Last Change: Thu Oct 29 14:02:07 CET 2020|