Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
We don't bite newbies here... much
 
PerlMonks  

Perl 5, CPAN, and Perl 6 (Re^2: Hockey Sticks)

by raiph (Monk)
on Jan 26, 2012 at 01:52 UTC ( #950012=note: print w/ replies, xml ) Need Help??


in reply to Re: Hockey Sticks
in thread Hockey Sticks

Larry has planned use of Perl 5 and CPAN from within Perl 6 from the start. I am confident several approaches will get implemented, once the right pieces are in place. I agree it will make a huge difference.

One approach is embedding libperl.

jnthn's blizkost enables Perl 5 code to be executed within Parrot (and hence using Rakudo on Parrot). I think jnthn recently said that blizkost is currently broken and that he hopes to fix it in the next few weeks.

Aiui, blizkost currently does very little, just eval'ing a single line of perl5 code, and not even making use of the result. I think that developing it toward supporting Perl 5 modules was blocked on other progress, in particular implementing 6model. Maybe it'll move forward this year.

Update Jan 27, 2012: pmurias: niecza: Added p5test which test various stages of linking in a perl5 interpreter to mono suggests Niecza's making embedded full P5 moves too.

Alternatively, once Perl 6 is sufficiently complete, it might be "relatively easy" and compelling to implement a Perl 5 compiler in Perl 6. So that'll be another plausible approach to using some CPAN modules.

I can imagine others. There are complications whichever approach is used. For some approaches, XS will always be a bridge too far.


Comment on Perl 5, CPAN, and Perl 6 (Re^2: Hockey Sticks)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2013-05-18 11:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (392 votes), past polls