Also, the MetaCard WWW pages (http://www.metacard.com) have been
updated. Included in the new material is a new version of the
articles that compare MetaCard with Tcl/Tk and the COSE Desktop
KornShell. One of the articles shows the differences in performance
between scripts written in Tcl, Ksh, MetaTalk, and Perl. The article
has the complete description of the benchmarks, and includes links to
the benchmark code itself, but here's the punchline (all times are in
seconds):
Test # of loops Tcl Ksh MetaTalk Perl5
Simple loop 1000000 112 103 4 5
Iterative factorial 10000 255 88 9 8
Iterative factorial with 'if' 10000 341 112 15 10
Recursive factorial 10000 396 1909 59 63
String operations 10 187 294 23 16
File write and read 2000 63 104 51 22
Run Subprocess 1000 9 19 23 24
Set widget state 5000 30 52 16
Set with locked screen 5000 1 5 2
Start up to simple window 1 1 1 1
Start up to complex window 1 3 5 2
-- *********************************************************************** * Scott Raney (raney@metacard.com) Tcl and ksh: syntactic gymnastics * * http://www.metacard.com MetaCard: it does what you think * ***********************************************************************