Version 28 of Tclkit Lite

Updated 2005-11-16 00:14:47 by jcw

Tclkit Lite is a new (as of Oct 2005) variant of Tclkit which is a limited edition of Tclkit.

The limits and differences are:

  • it only reads/runs/mounts Metakit-based starkits & starpacks
  • it does not include Mk4tcl, so all dependencies on C++ are gone
  • it adds a small TEA3-based new C-only extension (called "Thrive")
  • performance is "sort of" like Tclkit, but varies because it's a different code base
  • it does not use the "mk4vfs" VFS driver, but a simpler one called "mkclvfs" (MK Compat Lite)
  • Tclkit Lite is smaller than Tclkit (some 250 Kb less on Linux, no more Mk4tcl nor C++ runtime)
  • SDX has been extended to support creating starkits when used with Tclkit Lite

The steps needed to build Tclkit Lite require the latest version of "genkit", see [L1 ]. -jcw

AMG: "Limited edition"? Hehehe. Get yours today! They're moving fast! First one hundred downloads are personally autographed by JCW!! :^)


Downloads

PT Until some more official source becomes standard:

MHo: What about a tclkitsh-lite? (without Tk) - it would be even smaller... (interesting, e.g., for CGI-Scripts).

US Yes! That's really a good idea. A Tclkit for Tcl and a Tkkit for Tcl/Tk. A pure Tclkit (without Tk), eventually including TclX and/or expect, would be very useful for daemons and background tasks.

jcw - See [L2 ] for sizes on Linux. Note that tclkitsh variants (no Tk and no Itcl) are easy to build:

    tclsh genkit A
    tclsh genkit B tcl
    sh genkit B all
    cat install/<hostname>/kitshlite tars/runtime-sh.kit >mykitsh
    chmod +x mykitsh

PT 31-Oct-2005: I've modified the msvc6 build files to include support for this. I'm uncertain that I've got it 100% correct so far as my tclkitlite is only 90K or so smaller that the normal tclkit. My tclkitlite84.exe for Windows is available from [L3 ] (gpg signature at [L4 ]) at least for a while. I'll produce some patches at some point.

These are the sizes I have for each version - not upx compressed. The link above is compressed because it is for download and my uplink speed is not that fast.

 31/10/2005  16:34         2,001,305 tclkit84.exe
 31/10/2005  16:28         1,908,269 tclkitlite84.exe
 31/10/2005  16:41           902,749 tclkitsh84.exe

Just to point out that this lite tclkit still contains the same vfs code that a normal tclkit does. It is only lacking the metakit library. This means that, for instance, you can still load zip-based starkits (there is an example of one for tkchat at [L5 ]).

(and you can still load a copy of the Mk4tcl extension dynamically, at which point Tclkit Lite should revert to doing the same as Tclkit -jcw)


See also Using a zip file as a Tcl Module, tarpack


[Category Tclkit | Category Deployment]