chromatic - "Program vs. Script" - #2 - Fortune

chromatic - "Program vs. Script" - #2

Of course, if someone were to write an extra optimizer step for Perl 5 to evaluate certain parts of the optree and generate native code in memory on certain platforms without writing it out to disk (uh oh…) and then execute that code under certain conditions, all Perl 5 scripts would automatically turn into programs. You know, like .pmc files, or Python's .pyc files. Uh.

As well, if more people use Punie (Perl 1 on Parrot) this year than native Perl 1 -- a possibility -- then Perl 1 scripts automatically become Perl 1 programs becaues Punie can use Parrot's JIT. I don't know if this powerful upgrade from script to program is retroactive, but I see no reason why not.

Perl 5 scripts were briefly programs while Ponie was viable, but the removal of the code from the Parrot tree has now downgraded them back to scripts. We apologize for the inconvenience.

Author chromatic
Work "Program vs. Script"