It strikes me as a Good Thing (ie. in terms of compilation time), that the Python interpreter will create bytecode .pyc files. I believe python uses some sort of hash to determine if the source has changed and then recompile.
Would this be a good idea for Perl? ( with respect to the larger projects with many dependencies etc ).
For quite long explanation of .pmc
files, there is lenghty article on perlmonks, also explaning why nobody uses it.
Actually, there is a way to compile Perl to bytecode, but it has some limitations. See B::Bytecode.
Parrot is a bytecode VM which should have been used by next version of Perl, i.e. Perl6, but apparently no more (thanks to Barney Schmale's comment)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With