Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: when is perl6 as fast as perl5

by moritz (Cardinal)
on Jun 16, 2019 at 18:57 UTC ( #11101446=note: print w/replies, xml ) Need Help??


in reply to when is perl6 as fast as perl5

I'm not expert of language compiler. but I fuzzily remember Reini Urban's criticism about perl6 that because of rakudo's wrong 3-stage design, perl6 would be never as fast as perl5! Is that right?

That sounds like a very dubious claim to me. Maybe the staged approach limits the performance of compilation time, but the problems you've mentioned (working with many and large files) sounds like they are limited by run time performance, not by compilation time.

if he's conclusion was wrong, when can I use a decent fast perl6?

Such things are very hard to predict in a volunteer-driven project. You could also ask when you can expect a Perl 5 that supports easy to use and robust concurrency, or a Perl 5 with less gotchas about mixing string and binary data, and probably not get a very good answer.

There are use cases for which Perl 6 is fast enough now, and there are small niches where Rakudo on MoarVM can be faster than Perl 5 right now (for example integer arithmetic when you use native types in Perl 6).

does perl6 deserve to invest for career? or just treat it as hobby? Please enlighten me. TIA.

If you want to make money now, Perl 6 isn't your best choice. Treat it as a hobby, and learn one of the trending languages like Javascript or Python for making money.

Replies are listed 'Best First'.
Re^2: when is perl6 as fast as perl5
by 1nickt (Abbot) on Jun 17, 2019 at 02:07 UTC

    "You could also ask when you can expect a Perl 5 that supports easy to use and robust concurrency" ... that's available in Perl (as you know): see the Perl Many-Core Engine.


    The way forward always starts with a minimal test.
      Nice module. But neither native nor core.

        That's not the Perl architectural design. Perl has a lightweight core and a pluggable module system. It works phenomenally well, has done for more than two decades, and made Perl a viable, commercially useful language that continues to provide professional software developers with high-paying jobs.

        Many would say that Rakudo's stubborn insistence on attempting to do All the Things is what condemned it to be not viable, not commercially useful, and the provider of no high-paying jobs for software developers.


        The way forward always starts with a minimal test.
Re^2: when is perl6 as fast as perl5
by xiaoyafeng (Deacon) on Jun 18, 2019 at 03:18 UTC
    I just want a way to both make money and stay in perl community. ;) Besides, Technically, I can't find any advantage of Javascript and Python compared to perl5.




    I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2020-05-30 06:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (171 votes). Check out past polls.

    Notices?