Hacker News new | ask | show | jobs
by nightowl_games 1949 days ago
Curious on performance benchmarks. For me, I'm comparing this to wren:

https://wren.io/

2 comments

There are some benchmarks here:

http://mcvoy.com/lm/L/tcl/tests/langbench/

some results in the README. Perl holds up well. These are probably 10 years old though.

Tcl is historically very slow. Especially for synthetic CPU intensive benchmarks. However, since it's so easy to interop with C, it didn't seem to matter much in the real world. You just put anything performance sensitive in C and left the bits that didn't matter in tcl. Some benchmarks: https://github.com/trizen/language-benchmarks
It takes Little 3.53 seconds to find the 33rd number in the Fibonacci sequence recursively versus 30.23 seconds for Tcl8.6 on my i5-3320M.
Additionally, you can compile Tcl to machine code with TclQuadCode for up to a 66x speed improvement