in reply to Re^2: Perl 6 and performance
in thread Perl 6 and performance
So, perl5 took .5 sec and perl6 took 11.4 secs, making perl6 almost 23 times slower than perl5. I really hope this is improved on in subsequent releases of perl6. John
My considered assessment is that in order to be able to support the needs of MOP, and installable parsers, the levels of indirection required within the opcode tree are such that Perl6 will never be able to achieve the performance of Perl5; much less (uncompiled) Java and similar.
From my brief appraisals of the performance it currently achieves, and an even more brief exploration of the source code, I think it quite unlikely that the Perl6 syntax will ever be able to get within an order of magnitude of Perl5 performance as a purely interpreted language. I think it would require a full optimising compiler to achieve any real breakthrough in its performance.
It is possible that a JIT compiler could fold out some of the indirections, but I suspect that it would require serious machine level skills on each targeted platform for that to be achieved.
|
---|