Archive for August 28th, 2008

Translating pypy-c with 2.5 support

Thursday, August 28th, 2008

Last week I did some fixes to PyPy 2.5-features branch because the translator was crashing. That’s because some of the code I wrote in the last four months were not RPython.

The changes were mostly to help the annotator (with assertions). Now you can have a pypy-c with full 2.5 support.

There are some bugs so stdlib may not be fully working. I’m working on that.


svn co http://codespeak.net/svn/pypy/branch/2.5-features/ pypy-2.5-features
cd pypy-2.5-features/pypy/translator/goal/
python translate.py targetpypystandalone --allworkingmodules
# wait........
./pypy-c

Please, read PyPy’s documentation on translating and if you find any problem while translating let me know. Note that this docs are for the trunk so some of the options may not be available in 2.5-features branch.

I wrote this post last week and it was in my drafts. Actually I fixed some other bugs (one related to PEP 352) and it seems that my changes broke the translator again. Talking in #pypy Armin said that this is probably a bug in the annotator. I don’t know much about the translation process or about the annotator… I guess it’s time to start looking at it :-)

back to gentoo linux

Thursday, August 28th, 2008

After months postponing I’ve installed Gentoo in my laptop. I really like portage and probably everything I know about configuring linux using /etc and a bunch of commands I know because of gentoo.

The first time I installed Gentoo it I had a copy of the Gentoo Handbook and that was it. No internet connection to help. It was a great experience and I’ve learned a lot about how linux works internally. Before Gentoo I was using Fedora Core 2.

After those days I decided that I should became a programmer and not a sysadmin, so I did it, and I decided to install Ubuntu… now after two years using Ubuntu I’m back to Gentoo.Things are different of course. The installation process is easier (with a graphical interface LiveCD!). But, it’s nice to decide what I want to install and have full (or almost full?) control of my machine again! :D

Well.. let me go back to work, portage just finished to compile… :-P