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
In reply to when is perl6 as fast as perl5 by xiaoyafeng
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |