![]() |
|
Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^4: Performance penalties of in-Perl docn vs compiled CGIs. (updated x 2)by LanX (Saint) |
on Feb 03, 2021 at 16:12 UTC ( #11127866=note: print w/replies, xml ) | Need Help?? |
Yes Java has JIT, but this was not always so. Both languages have a "virtual machine" with OP-codes/Bytecode which is/can be interpreted. My point is, the black and white distinctions between compiler and interpreter are from the <80s and don't match the current shades of grey anymore.
Cheers Rolf
updatePlease correct me, but IIRC is JIT only attempting to compile a code path if past interpretation proved to be inefficient. Hence "interpretation" is still the default.
updatefrom WP: Just-in-time_compilation
A system implementing a JIT compiler typically continuously analyses the code being executed and identifies parts of the code where the speedup gained from compilation or recompilation would outweigh the overhead of compiling that code.
In Section
Seekers of Perl Wisdom
|
|