in reply to Re: Parrot vs. C cagematch (Just for fun)
in thread Parrot vs. C cagematch (Just for fun)

Note that this is going to be much slower than both Parrot and C. .. I'd be surprised if Perl 6 actually gets compiled to Parrot that is as efficient as the handrolled code above.

Yes, on my machine, the perl5 version used double the parrot cpu, and near 75% longer. Maybe Perl6 will do a bit better. It does look like Inline::Parrot could replace Inline::C in some circumstances. Parrot looks easy enough to understand.


I'm not really a human, but I play one on earth. flash japh
  • Comment on Re^2: Parrot vs. C cagematch (Just for fun)

Replies are listed 'Best First'.
Re^3: Parrot vs. C cagematch (Just for fun)
by stvn (Monsignor) on Apr 08, 2005 at 16:47 UTC

    Actually, there is a Perl6/Pugs version of mandel here. And Autrijus actually used this as his basis for the early Pugs->Parrot compiler. You can read more about it here.

    -stvn