Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Perl 5, Python, Rakudo, C/C++, Java, Lua?

by einhverfr (Friar)
on Apr 01, 2015 at 13:29 UTC ( [id://1122136]=note: print w/replies, xml ) Need Help??


in reply to Perl 5, Python, Rakudo, C/C++, Java, Lua?

Looks interesting. I am watching some parts of Perl 6 and this could be quite helpful. I am however taken aback by "most of CPAN should work" because I am not sure what would be the obstacles there. Are there specific features that would not work? Like maybe tail calls via goto &subname? Or is this more like "we haven't tested it entirely?

If Perl 5 modules work flawlessly in Perl 6 including language features unsupported in the latter, then that would give me additional confidence. I actually use tail calls in Perl 5 and that is one of the larger features that if it is not supported would keep me from upgrading, but if I can put it in a Perl 5 module, then no harm done.

  • Comment on Re: Perl 5, Python, Rakudo, C/C++, Java, Lua?

Replies are listed 'Best First'.
Re^2: Perl 5, Python, Rakudo, C/C++, Java, Lua?
by raiph (Deacon) on Apr 05, 2015 at 01:01 UTC
      Thanks for the nextwith stuff. I will keep an eye on that.
Re^2: Perl 5, Python, Rakudo, C/C++, Java, Lua?
by Your Mother (Archbishop) on Apr 01, 2015 at 16:43 UTC

    You can do tail calls in Perl5 now: 5.4.2 Creating Tail Calls in Higher Order Perl; see also Sub::Call::Tail.

    The CPAN has plenty of “interesting” code that doesn’t work everywhere Perl5 does. It seems likely that a slightly smaller portion would be able work under any kind of harness, Perl6 or otherwise.

      Yes you can. goto &subname also does them. I don't see anything in Perl 6 docs for this functionality however.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2026-04-18 04:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.