News for hackers. Stuff that matters.
Re:Compilers for Free by RHSeeger on Friday January 25, 2019 @11:35AM (#18999586)
The lines are grey, to some extent. Many interpreted languages (such as Tcl) compile to bycode, then interpret that. The compilation happens not at the operation level, but at the block (or maybe file) level.
Re:Compilers for Free by blacksqr on Saturday January 26, 2019 @04:20PM (#19008569)
In Tcl, procedures are bytecode-compiled when they are created, which is generally when the files containing their code are sourced.

Code outside procedures is not compiled, but interpreted line-by line as it is executed.

So if you care about the performance of your Tcl code, put as much of it as you can into procedures.