Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: NO PERL 6

by pdcawley (Hermit)
on Dec 10, 2002 at 07:56 UTC ( #218748=note: print w/ replies, xml ) Need Help??


in reply to Re: NO PERL 6
in thread NO PERL 6

The numbers on Parrot vs The Perl VM make interesting reading. Parrot is currently trouncing the Perl VM by at least an order of magnitude (unless my memory is playing me false...). Yes, the P5VM is doing more, but Parrot has a hell of a lot of headroom right now. I will be extremely surprised if Dan and his team don't deliver on the 'as fast or faster than Perl 5' promise.


Comment on Re: Re: NO PERL 6
Re: Re: Re: NO PERL 6
by John M. Dlugosz (Monsignor) on Dec 12, 2002 at 22:35 UTC
    In terms of arithmetic and other primitive operations, I'm sure Parrot will trounce the P5VM. This will be helpful in coding loops and testing limits and so on, the nuts and bolts of what holds a program together.

    But individual features may get bogged down. For example, a while back I mused that Perl 6 Patterns would be much slower than Perl 5 Regex's because you can't tell it not to capture everything, and Abigail pointed out that this is not something you can optomize at compile-time without solving the halting problem.

    So in Perl 5, I try and use built-in stuff even if in clever ways because it's faster than coding an explicit loop; in Perl 6 that will not be the case, but will I avoid grammars like the plauge because they are far slower than procedural code? That's my worry.

      There's no reason that perl 6 patterns will be any slower than perl 5 regexes. The equivalent constructs should take about the same amount of time, modulo the odd optimization on either side. (Likely the perl 5 regex engine will be faster by a bit to start, if for no other reason than a dozen years worth of vicious optimization inflicted on it)

      I'm not sure where you came up with the thought that you won't be able to limit what gets captured--you'll have at least as much control over capturing as you do now, if not moreso.

        I'm not sure where you came up with the thought that you won't be able to limit what gets captured--you'll have at least as much control over capturing as you do now, if not moreso.

        See Perl6 regex/pattern performance issues? and the replies. Care to set the record straight?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2014-09-19 06:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (132 votes), past polls