3 ms·
What was the last version of TCL you used? These days they have an extremely cunning system involving multiple representations: Being TCL, every value is of cou
by meredydd 8y ago
What was the last version of TCL you used? These days they have an extremely cunning system involving multiple representations: Being TCL, every value is of course canonically a string, but if you do (eg) integer operations the result will be stored only as an integer until its needed as anything else. And the body of a 'proc' will be compiled to bytecode on first use, so subsequent calls will go much faster. One could even add a specialising JIT to this if you wanted to.
- pjmlp 8y agoVersion 8.x, the ones where bytecodes where introduced (1999 - 2003). Thing is, if you want to speak about modern TCL implementations, then the comparison needs to be against VB.NET, with its 64 bit SIMD aware JIT/AOT compilers.
- rkeene2 8y agoAlso, modern Tcl can be compiled to machine code to a large degree thanks to TclQuadCode and LLVM.