![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re^4: A Perl interpreter written in Perl?by LanX (Saint) |
on Apr 16, 2025 at 18:05 UTC ( [id://11164751]=note: print w/replies, xml ) | Need Help?? |
I'm not aware of any real interpreter languages anymore. That's a distinction from the 80s or 90s, reality evolved faster than terminology.¹ Perl has a compiler creating optimized op-codes, you can even precompile .pl to .plc code. The engine running this code is roughly kind of like the JVM, but not as flexible because of many idiosyncracies. The real difference nowadays is not interpreted vs compiled, but dynamic typing vs static typing. Compare JavaScript vs TypeScript.² In this light, it's hard to answer the OP because I don't know what he thinks an interpreter does.
Cheers Rolf
¹) Microsoft BASIC was interpreted, the source for almost all BASIC dialects back then. But even here the source code was normalized internally to 2 letter mnemonics to optimize space and speed. ²) That's a fair comparison, since JS was heavily influenced by Perl.
In Section
Meditations
|
|