On behalf of the Parrot team, I'm proud to announce Parrot 0.6.3 "Beautiful Parrot." Parrot is a virtual machine aimed at running all dynamic languages.
Parrot 0.6.3 is available via CPAN (soon), or follow the download instructions. For those who would like to develop on Parrot, or help develop Parrot itself, we recommend using Subversion on our source code repository to get the latest and best Parrot code.
Parrot 0.6.3 News:
Thanks to all our contributors for making this possible, and our sponsors for supporting this project. Our next release is 15 July 2008.
Enjoy!
Recursion is a very common technique used in today's programs. Although recursion is a very easy method to solve problems, it can easily introduce unwanted overhead that can quickly worsen program's performance.
The facts,
1) We created a recursive function to calculate the number of nodes in a full binary tree, given as argument the tree's height.
2) We implemented this function in Parrot, and also on interpreted and compiled languges.
3) We ran the programs several times increasing the height of the tree.
Here are the results: http://nrc.homelinux.org/parrot/bintree.png.
This benchamarking covers several Parrot versions. It still uses the very dumb algorithm to calculate how may prime numbers exist between 1 and a given argument, used on previous benchmarkings.
Link to results: http://nrc.homelinux.org/parrot/parrot_primes.png.
In the process of submitting an article to http://workshop.perl.pt/2008 about Parrot, we felt the urge to do some simple benchmarking, to have a glimpse of Parrot's current performance.
First, the facts:
1) We created a very dumb algorithm (intentionally not efficient) to calculate how may prime numbers exist between 1 and a given argument.
2) We implemented this algorithm in several well know interpreted languages, in Parrot of course, and also in C and Java to have a bottom line to draw comparisons. Basically we only used whiles and ifs and tried to make all implementations as similar as possible.
3) We run every program (unfortunately on a slow machine) several times, incrementing the argument in steps of 10000, from 10000 to 90000, and watched has they took more and more time to run.
Finally, check the results: http://nrc.homelinux.org/parrot/primes.png.