Y
Hacker News
new
|
ask
|
show
|
jobs
by
int_19h
1378 days ago
This has been the usual way to implement interpreted languages for decades; Perl isn't special in that regard. JIT generally refers to generation and execution of native code specifically.
1 comments
jandrese
1378 days ago
I'm pretty sure bash still interprets line by line because you can mess up a script by editing it while it is executing.
link
int_19h
1377 days ago
bash (and other shells) are special in that regard, because they use textual substitution so heavily - to pass arguments etc.
But Python, Ruby etc all compile to bytecode, and have always done so as far as I can remember.
link