Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: The right time to start a project?

by Anonymous Monk
on Aug 01, 2003 at 09:19 UTC ( [id://279894]=note: print w/replies, xml ) Need Help??


in reply to Re: The right time to start a project?
in thread The right time to start a project?

With Parrot under the hood, it will probably run that code a lot faster as well.

How do you figure that?

What Perl really needs is a better extension system and a native compiler.

  • Comment on Re: Re: The right time to start a project?

Replies are listed 'Best First'.
Re^3: The right time to start a project?
by adrianh (Chancellor) on Aug 01, 2003 at 09:28 UTC
    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 :-)

      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

        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.

      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.

Re: Re: Re: The right time to start a project?
by liz (Monsignor) on Aug 01, 2003 at 09:24 UTC
    ...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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-19 08:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found