Memchan is an extension library to the script language Tcl, as created by John Ousterhout. It provides two new channel types for in-memory channels and the appropriate commands for their creation. They are useful to transfer large amounts of data between procedures or interpreters, and additionally provide an easy interface to on-the-fly generation of code too. No need to set or append to a string, just do a simple puts.
|Tags||Software Development Libraries|
|Operating Systems||Windows POSIX Linux Solaris|
Release Notes: Added support for TEA compliant building of this extension. This requires at least Tcl/Tk 8.2. The old built facilities (unix, win) still exist and are still usable. Also added an option to 'memchan', for preallocation of bufferspace, added option '-allocated' to 'fconfigure', to allow a user to query the number of bytes allocated by the buffers, in contrast to -length, which retrieves the number of used bytes.
Release Notes: This new major version drops support for Tcl 7.6 or older. The last version of memchan supporting the 7.x series is 1.9 and still available from the site. No other changes were made.
Release Notes: Made thread-safe is compiled against a thread-enabled version of TCL 8.1. Small internal reorginization of the 'generic' library, headers now usable with a C++ compiler, New channel type: fifo, same as memchan, but with fifo characteristics, like sockets and pipes.