Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Parrot vs. C cagematch (Just for fun)

by zentara (Archbishop)
on Apr 08, 2005 at 11:31 UTC ( [id://445988]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-25 15:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found