How do you figure that?
Because the current Perl5 VM is a complex evolved mess that is very hard to maintain and optimise. All the bits of Parrot implemented so far have been faster than the Perl5 equivalents.
What Perl really needs is a better extension system and a native compiler.
Curiously enough, two things that Parrot enables :-)
| [reply] |
Because the current Perl5 VM is a complex evolved mess that is very hard to maintain and optimise. All the bits of
Parrot implemented so far have been faster than the Perl5 equivalents.
But that doesn't mean that if everything is implemented,
everything is still faster than the Perl5 equivalents.
Perl5 has seen a slowdown over time as well. Which can
be largely contributed by the fact the language has become
more complex, and perl needs to do more.
Now, it may turn out that in the end Parrot is faster than
Perl5 (which is to be expected, if only if it's a complete
rewrite), but the comparison of bits of the final Parrot
vs the complete Perl5 isn't fair IMO. Let's compare when
Perl6 and Parrot are done, and then again 6 years later,
when Perl6 and Parrot have to deal with half a dozen years
of bolting on new features.
Abigail
| [reply] |
I agree completely that a partial comparison is not really fair. Parrot could end up slower than Perl5's VM.
However, my bet would still be that it ends up quite faster.
We have implementations of complex dynamically languages like Common Lisp that are considerably faster than Perl5 in some areas. So it's likely (IMO) that there are considerable improvements that can be made.
| [reply] |
Looks like Abigail-II beat me to part of the response. As stated, a partial comparison doesn't tell much. This applies to native compiling, the extension system, and speed improvements. Having something in development doesn't mean it'll ever be here in a superior form.
| [reply] |
...What Perl really needs is a better extension system and a native compiler...
Eh... Parrot has just that or almost. If you follow the Parrot list, you would know that the first native executables have been generated from Parrot. And that work on the extension system is in high gear.
This is what is going to make Ponie so very interesting. It's like halfway between Perl 5 (because it's going to compile Perl 5.10 source code) and it's going to run on Parrot (like Perl 6 and many, many other languages).
Liz | [reply] |