in reply to Re: Doing a standalone executable (and even a binary!)
in thread Doing a standalone executable (and even a binary!)
It's not really clear if the OP has a question or is just musing. Sounded more like musing over what might be a good approach for standlone perl apps -- but there are really two separate issues that should be kept distinct:
- Packaging up a perl script with an interpreter to run as a standalone
- Storing the compiled perl bytecode so the source isn't recompiled each time
PAR is only an answer to the first, I think. The OP seemed a bit more focused on the second. I'm not sure how much speed gain that really gives, though. It all comes down to the ratio of compile time versus run time. For user apps, I don't know that compile time matters so much.
For the second, mod_perl and PersistentPerl are a couple of approaches used to address this with a persistent perl interpreter.
-xdg
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Doing a standalone executable (and even a binary!)
by Ace128 (Hermit) on Sep 06, 2005 at 15:44 UTC | |
by xdg (Monsignor) on Sep 06, 2005 at 16:03 UTC | |
by Tanktalus (Canon) on Sep 06, 2005 at 19:48 UTC |