Perl 6 and byte code

2004-10-27 Thread Peter Hickman
Presently Python compiles it's py files to pyc files that can then be run without access to the source (the py). Would Perl 6 be able to do this? Compile the pl to plc and pm to pmc and load the ??c version if it was available and newer than the source? Other than code hiding would there be

Re: Perl 6 and byte code

2004-10-27 Thread Stéphane Payrard
On Wed, Oct 27, 2004 at 12:00:33PM +0100, Peter Hickman wrote: Presently Python compiles it's py files to pyc files that can then be run without access to the source (the py). Would Perl 6 be able to do this? Compile the pl to plc and pm to pmc and load the ??c version if it was available

Re: Perl 6 and byte code

2004-10-27 Thread Dan Sugalski
At 12:00 PM +0100 10/27/04, Peter Hickman wrote: Presently Python compiles it's py files to pyc files that can then be run without access to the source (the py). Would Perl 6 be able to do this? Compile the pl to plc and pm to pmc and load the ??c version if it was available and newer than the

Re: Perl 6 and byte code

2004-10-27 Thread Peter Hickman
Dan Sugalski wrote: At 12:00 PM +0100 10/27/04, Peter Hickman wrote: Presently Python compiles it's py files to pyc files that can then be run without access to the source (the py). Would Perl 6 be able to do this? Compile the pl to plc and pm to pmc and load the ??c version if it was available

Re: Perl 6 and byte code

2004-10-27 Thread Jeff Clites
On Oct 27, 2004, at 6:24 AM, Gisle Aas wrote: How about the code JITed from the bytecodes. Will it be shared? The JITed code can't be shared directly--in it's current form, it (intentionally) includes absolute addresses which wouldn't be valid for other processes. But the exec core allows (or,