Re: Tcl bytecode
- From: Googie <no@xxxxxxxx>
- Date: Tue, 30 Jan 2007 14:33:37 +0100
suchenwi wrote:
With TclDevKit ($$) you can save bytecodes to a file (and load them with tbcload). However, their purpose is to obfuscate code, and loading them is slower than parsing genuine Tcl source files :)
For open source, I find it most suitable that scripts are openly readable, and editable in case of problems.
But TDK does translation to _some_ bytecode which isn't the same bytecode which Tcl interpreter executes (if I understeand correctly TDK compiler idea, of course).
I mean to save Tcl bytecode as it's represented just after byte-compilation - when script is loaded into interpreter.
Why write external tools to do such a thing, when Tcl Core (interpreter) already (while script execution) has such a bytecode in memory?
--
Pozdrawiam! (Regards!)
Googie
.
- Follow-Ups:
- Re: Tcl bytecode
- From: Jeff Hobbs
- Re: Tcl bytecode
- References:
- Tcl bytecode
- From: Googie
- Re: Tcl bytecode
- From: suchenwi
- Tcl bytecode
- Prev by Date: Re: Tcl bytecode
- Next by Date: Re: teapot package: what is?
- Previous by thread: Re: Tcl bytecode
- Next by thread: Re: Tcl bytecode
- Index(es):
Relevant Pages
|