<div dir="ltr">2016-05-30 23:38 GMT+02:00 Reinhard Kotucha <span dir="ltr"><<a href="mailto:reinhard.kotucha@web.de" target="_blank">reinhard.kotucha@web.de</a>></span>:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On 2016-05-30 at 13:55:49 +0200, Uwe Siart wrote:<br>
<br>
 > Bernhard Kleine <<a href="mailto:bernhard.kleine@gmx.net">bernhard.kleine@gmx.net</a>> writes:<br>
 ><br>
 > > On my win7 box, closing the tlmgr (pretest and all before) takes<br>
 > > at least 30 sec, in my mind very long. Is there a reason behind?<br>
 ><br>
 > I've been observing this ever since. Just didn't care. As we know<br>
 > from Java, platform independent programming environments (as is<br>
 > Tcl/Tk) tend to be slow. Perhaps this is simply the price to pay<br>
 > for platform independence.<br>
<br>
</span>It takes much less than a second to close tlmgr on Linux.  Hence it's<br>
obviously a Windows issue.  Unless there is a program like strace for<br>
Windows it's nearly impossible to find out what's going on.  Maybe one<br>
could examine with Cygwin, but I fear that the problem can't be solved<br>
anyway because a program has no influence on what happens after it's<br>
finished.  Of course, the O/S has to close open files and reclaim<br>
memory, but I don't know why this takes so much time on Windows.<br>
Creating new processes is also very slow on Windows.<br>
<br>
BTW, Tcl/Tk is not slow because it's a platform independent<br>
programming environment, it's slow because Tcl is an interpreted<br>
language.  Most other scripting languages pre-compile the code before<br>
it's executed.  This makes a very big difference.<br></blockquote><div><br></div><div>It is even worse, Tcl lacks numeric variables. If you want to evaluate 3 + 2, first the string "3" is converted internally to a number, then the string "2" is converted internally to a number, the expression is evaluated to number 5 which is convertečd to string "5" and the string is stored. <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I don't know anything about Java, but I've been told that current<br>
implementations are quite fast.<br></blockquote><div><br></div><div>Yes, it is fast but the GNU Java for Linux lacks GUI, Java for other platforms is not freely redistributable, users will have to download and install it themselves. It need not be trivial. A few month ago I found that a Java app working fine on my Linux did not work on a Windows computer and the error message was not useful. The reason was that the app required standard classes that are not distributed with JRE but JDK is required. It can easily be figured out by a Java expert but not by normal users, they will just report that it does not work. <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Regards,<br>
  Reinhard<br></blockquote><div><br><br><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">Zdeněk Wagner<br><a href="http://ttsm.icpf.cas.cz/team/wagner.shtml" target="_blank">http://ttsm.icpf.cas.cz/team/wagner.shtml</a><br><a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a></div></div>
<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class=""><font color="#888888"><br>
--<br>
------------------------------------------------------------------<br>
Reinhard Kotucha                            Phone: <a href="tel:%2B49-511-3373112" value="+495113373112">+49-511-3373112</a><br>
Marschnerstr. 25<br>
D-30167 Hannover                    mailto:<a href="mailto:reinhard.kotucha@web.de">reinhard.kotucha@web.de</a><br>
------------------------------------------------------------------<br>
</font></span></blockquote></div><br></div></div>