in reply to Re^6: Perl 6 ... dead? (no, just convalescing)
in thread Perl 6 ... dead?

You can convert your Perl 5 scripts to bytecode, and any one can -MO=Deparse them back to something (reasonably) close to the original code.

In Perl 6 you will (I assume) be able to convert your scripts to byte code tartgeting Parrot, and some one will eventualy make a Deparser for Parrot/Perl 6. Perl 6 will probably not be that much friendlier to source hiding than Perl 5 is.

You could always try B::C if your willing to give up some portability.

  • Comment on Re^7: Perl 6 ... dead? (no, just convalescing)

Replies are listed 'Best First'.
Re^8: Perl 6 ... dead? (no, just convalescing)
by osfameron (Hermit) on Sep 02, 2004 at 08:33 UTC
    Even, say, Java bytecode can be deparsed. OK, there are code obfuscators, which do various clever tricks (for example producing valid bytecode which works in the JVM but which could never be produced from valid Java code) and garbling variable/sub/class names to prevent them from being understood. You can easily obfuscate (Acme::Bleach anyone?) Perl code, and garble the names for good measure. I guess the fact that Perl 6 will compile to bytecode will make other forms of source protection easier to implement than for Perl 5 though.
A reply falls below the community's threshold of quality. You may see it by logging in.