I pretty much had to pull an all-nighter, but I finally got Parrot compiling and testing perfectly on my C-64. I'm guessing some people thought it was an "Impossible Mission", but I have that "M.U.L.E." off my back.
The majority of this week has been to start understanding the lay of the land in the Parrot world. The first real obstacle seems to be the regular use of void pointers throughtout the code base. This can make the code difficult to understand since you don't really know what's coming. It also has the nasty side effect of preventing a true C++ compiler from compiling Parrot.
So, to begin, I created the following patches to begin the cleanup.
All of the above were applied, although RT #42156 required some re-work on my part.
I also dug up the warnocked "RT #41837 [PATCH] integer overflow in include/parrot/sub.h" that had been submitted some time ago. It fixes some integer overflow issues that the Sun compilers on Solaris x86 complain loudly about.
For the upcoming week, I see the cleanup of void pointers continuing. I'm also looking into compiling on Borland C++ on Windows. Borland can be much more strict than other compilers causing it to choke on things other compilers let past. I should have an additional patch to help me out with Borland C++ tonight. I also need to take a look at the segmentation faults I'm seeing when I test Parrot on Solaris. I also need to test a couple of changes on HP-UX PA-RISC as well. Finally, there have been some reported success of compiling Parrot on Cygwin. I just need to work on those successes so that you don't have to be a regular on #parrot to compile successfully.
So, now it's official. Time to go to work.
The first thing I want to look at is Intel C++ support for Parrot. I have to take this on somewhat carefully for a few reasons.
I need to look Parrot's current processes for identifying Intel C++ so we do not have to repeat the logic for each operating system hint file where Intel C++ is supported. My thoughts now are to identify Intel C++ earlier in the Parrot configuration chain, but I haven't decided yet whether this should be when we check for gcc, or if this check should be done separately.
MadMongers, the Madison, WI, Perl Mongers group will be holding its first meeting tomorrow night. Please, come and join us to help get the group kicked off, or just come to have a beer and talk with a bunch of other Perl programmers. See you there!
I’ve been lucky enough to recently get access to the Sun Fire T2000 that Ask and Robert have gotten from the Sun Test Drive program. I have to say that so far it has been quite fun to play with.
The architecture of the new UltraSparc chips is quite interesting. You can check out the OpenSparc website if you are really interested, but it allows each CPU to run four separate, autonomous threads, or strands, as Sun calls them. Because of this, an 8 CPU box, like the perl.org T2000, behaves like a 32 CPU box. I have to say that running gmake –j33 when developing Perl is a real time saver.
More importantly, of course, is that it has helped us to close out a few old bugs as well as help us find a few new ones. Nicholas fixed some parallel build issues that prevented the gmake gymnastics above. He is also playing with parallel testing with harness in the Perl distribution. With multiple CPU cores becoming more common (I’m expecting to see a good number of MacBooks at YAPC::NA) this will be helpful to a lot of Perl developers.
The new bugs involved a couple of additional build issues. First, Perl’s tests were making the assumption that the UNIX init proc had a pid of 1. That’s not necessarily the case on the T2000. Second, I found that the make used to build some of core modules switched from gmake to Sun make. This isn’t very helpful when you are trying to use gmake’s parallel make capabilities. I’ve got a patch that Nicholas suggested to fix this. Now, I just need to complete testing on before I commit it into the core.
Now, that we’ve kind of broken it in, I’m going to try to do some benchmarking on the box to try a few comparisons that have popped up on the perl5-porters mailing list in the recent past. One interesting one that Jim Cromie discussed was using Perlbench to compare multiple runs of a single Perl against itself. The idea is that Perl should perform with some regular consistency. One that I’m interested is comparing the performance of a big 16 CPU Itanium box against the T2000’s 8 CPUs that behave like 32 CPUs. I really want to see how the virtual CPUs compare against the real thing. Finally, I’m hoping that this platform will help point out the poor performing places in the Perl core so that I can help speed up Perl a bit in a few places. Hopefully, I won’t need a crash course in Sparc Assembly Language to do this.
I was going to post this picture as a response to the dog who ate tuits. Unfortunately, Simba (the cat) has decided to eat tuits in a very bad way. Two evenings ago, he somehow got out of the house, and has disappeared. Being an inside cat all of his life, sneaking out is never a good thing. With Winter now here with snow and near zero F wind-chills, this has been made a lot worse. My hope right now is that he is in someone's garage and just hasn't had the chance to escape yet. I'll stick with that for now.
Update: Simba was found under a bush a block away from our house by a woman who was putting up her Christmas lights. I'll have to find out which house, since I thought I had looked through every pine tree and bush in a couple block range.
Somewhere in the recent past, the perl.org sites switched to using an Onion logo, like this one.
Unfortunately, I haven't seen anything about the switch to these logos, any guidelines for use, or even what logos are available. It'd be great to have some of these questions answered somewhere.