News for hackers. Stuff that matters.
Re:Little is a statically typed, C-like scripting language by tyingq on Saturday February 20, 2021 @11:07AM (#26205137)
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
Re:Little is a statically typed, C-like scripting language by Thedarkb on Sunday February 21, 2021 @07:31PM (#26218934)
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.
Re:Little is a statically typed, C-like scripting language by rkeene2 on Saturday February 20, 2021 @12:04PM (#26205716)
Additionally, you can compile Tcl to machine code with TclQuadCode for up to a 66x speed improvement