OLPC installation for Perl and [[Parrot?]]
The OLPC Operating System
- Redhat Derivative
Installing Perl
- Run "Terminal Activity"
- You automatically have root acccess via sudo
- # sudo yum install perl
Parrot Requirements
- About 200-300 MB of free space
- OLPC comes with 1GB
- Can use USB
- Can use SD (see installation)
Installing Parrot
- # sudo yum install perl-CPAN
- # sudo yum install subversion
- # sudo yum install gcc
- # sudo yum install make
- # svn co https://svn.perl.org/parrot/trunk parrot
Installing Parrot
- # perl Makefile.PL
- # gmake
- # gmake test
Languages
- # cd languages/XXX
- # gmake
- # gmake test
- # ../../parrot XXX.pbc demo.xx
Performance
- OLPC suffers for performance
- Hardware is key but...
- Most of the code is python and not compiled
- Maybe Parrot would be a good... Run time and Compiled code
- One run time - many languages - but therefore small footprint
The real world
- http://www.perlfoundation.org/parrot/index.cgi?mod_parrot
- Apache module to run Parrot Code
- Still need some implementation of HLL, but no C
Parrot Stable
- Plan for Aug 2008
Talk History
- Melbourne Perl Mongers - February 2008