Starkit and SDX
As you could see in the previous example, Tclkit can be used as a replacement for tclsh, because it is able to run .tcl scripts. This feature, although useful, is nothing new. What is really innovative is that Tclkit is also capable of executing Starkits.
What is Starkit? It is a technology that allows you to pack (or wrap) the entire directory structure containing your scripts and other files crucial for your application into a single file with a virtual system inside of it. Having read the previous sections of this chapter, it won't be a surprise for you that Metakit, along with the appropriate VFS driver, is used to achieve this goal.
The structure and naming convention of directories and files to pack is precisely defined, so ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access