[tcltk-perl] RE: Anyone try running Insight/gdbtk thru tcl2perl ?
Brought to you by:
hobbs
From: Konovalov, V. <vko...@sp...> - 2004-12-20 17:10:07
|
(CC-ed to Tcl::Tk discussion list) > >>"real soon now", but lack of Perl mega-widgets is a > show-stopper, no? Another thought as being "show-stopper" - my feeling that lack of perlTk mega-widgets is not a show-stopper in Tcl::Tk but rather moving in slightly different direction, probably more convenient way from perspective of creating widgets > My reading of Tcl/Tcl::Tk indicates it creates a tcl interpretter. > > 1. Does this interpretter run in the same process as perl, or > a subprocess ? In the same process. Just like ordinary C library call. No additional processes, but you can still create another interpreters from Tcl language (if you wish), but I did not tried this. If thinking about extra overhead with creating additional interpreter, it actually results in smaller memory footprint and faster startup time... > > 2. How does it behave wrt PAR, perl2exe, or PerlApp (ie, bundling > into a single executable for distribution) ? Obviously, I'd need to > bundle tcl + tcl/tk stuff into the executable; I'm wondering if > Tcl::Tk will be able to find the tcl + tcl/tk pieces in that > environment ? I did not tried it from PAR. Because I feel uncomfortable when application's DLL's (speaking of Win32) are unpacked into TEMP dir and executed from there: there could be no space there, there could be race conditions, security risks. I created similar approach of moving around Tcl/Tk application with my Perl-based executables. It actually works to create statically linked Tcl/Tk that linked with Tcl.xs so all Tcl/Tk code could live in one single DLL and all Tcl/Tk scripts libe in one single ZIP file. I am currently in process of finalizing of this approach, which I expect will be robust in a week or so. I can share my own experience on this. So - it is not hard to create movable independent binaries. > > 3. Much of the tcl.tk website seems to be undergoing repair...is > there an alternate link to enumerate all available widgets ? I also noticed this and have no idea why things are behaving this way. Probably you should go to wiki instead: http://mini.net/tcl , there is category widget there. Best regards, Vadim. |