Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Perl 6 feature that scares me the most:

by gmpassos (Priest)
on Jun 03, 2003 at 02:11 UTC ( [id://262545]=note: print w/replies, xml ) Need Help??


in reply to Perl 6 feature that scares me the most:

Perl6 is just one of the languages of Parrot, and this is wonderful.

"The vision for perl6 is more than simply a rewrite of perl5. By separating the parsing from the compilation and the runtime, we're opening the doors for multiple languages to cooperate. You'll be able to write your program in perl6, or perl5, or any other language that there's a parser written for. Interchangable runtime engines let you interpret your bytecode or convert it to something else (e.g., Java, C, or even back to Perl)".
--Larry Wall.

So, we can play and create our own language, or just keep using Perl5 on it.

The bigger problem will be to rewrite the Perl modules at CPAN, specially modules with XS. But just imagine to have CPAN working with Parrot, and Parrot working with different languages!

Graciliano M. P.
"The creativity is the expression of the liberty".

  • Comment on Re: Perl 6 feature that scares me the most:

Replies are listed 'Best First'.
Re^2: Perl 6 feature that scares me the most:
by adrianh (Chancellor) on Jun 03, 2003 at 08:15 UTC
    So, we can play and create our own language, or just keep using Perl5 on it.

    I think that it's even better than that. You should be able to write your code in multiple languages that integrate together completely since they're running on the same VM. I worked in an environment that allowed this earlier in my career (more info here) and it's really nice.

    The bigger problem will be to rewrite the Perl modules at CPAN, specially modules with XS.

    An evil solution to this occurred to be last night. Keep Perl5 around, create a Perl5 server, and use RPC/IPC from Perl6 to run the XS code that you need.

    Now, if only there was a language that allowed you to hack stuff like that together really quickly :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://262545]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-19 17:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found