xiaoyafeng has asked for the wisdom of the Perl Monks concerning the following question:
hi monks,
I'm been drooling for perl6's neat and rich expression for years. This year, I've bought learning perl6 and start to learn perl6 officially. ;) During leaning, I'm very satisfied with perl6. To be honest, perl5 is good, but most of time, program in perl5 is a little bit like assemble weapons, you use many modules on cpan( image dzil) in one program which means you have to endure various programming style(moo, moose, bless etc.) in my own application. But perl6 not, it has a consistent class system, type system, and sigil system, that will let you keep your own style during program. Now, I've already replaced some perl5 stuff with perl6. i.e: getopt to MAIN, Devel::REPL to perl6's version etc. and I really enjoy it.
But the problem is performance. I hope I can use perl6 in production. But I found when I use perl6 to deal with large files (thousands files and each file with ten thousands lines), the program's performance decrease really fast. After google search, I notice tux's website which keep record perl6's benchmark, what frustrate me is although perl6's performance improve greatly compared before, it's still slower 10 times than 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? Actually, I'd like to port all my code to perl6 if perl6's performance is the same as perl5's. if he's conclusion was wrong, when can I use a decent fast perl6?
does perl6 deserve to invest for career? or just treat it as hobby? Please enlighten me. TIA.
I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: when is perl6 as fast as perl5
by moritz (Cardinal) on Jun 16, 2019 at 18:57 UTC | |
by 1nickt (Canon) on Jun 17, 2019 at 02:07 UTC | |
by Anonymous Monk on Jun 17, 2019 at 02:57 UTC | |
by 1nickt (Canon) on Jun 17, 2019 at 13:07 UTC | |
by Anonymous Monk on Jun 17, 2019 at 14:28 UTC | |
by Anonymous Monk on Jun 17, 2019 at 13:22 UTC | |
| |
by xiaoyafeng (Deacon) on Jun 18, 2019 at 03:18 UTC | |
Re: when is perl6 as fast as perl5
by Your Mother (Archbishop) on Jun 16, 2019 at 15:09 UTC | |
Re: when is perl6 as fast as perl5
by choroba (Cardinal) on Jun 16, 2019 at 08:48 UTC | |
by xiaoyafeng (Deacon) on Jun 18, 2019 at 03:10 UTC | |
Re: when is perl6 as fast as perl5
by thechartist (Monk) on Jun 20, 2019 at 00:25 UTC | |
Re: when is perl6 as fast as perl5
by Jenda (Abbot) on Aug 01, 2019 at 17:47 UTC |