Re: Floating point comparisons

2007-07-31 Thread peter baylies
On 7/31/07, Paul Cochrane <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm wanting to remove all the floating point comparison warnings which > appear when compiling parrot and wanted some advice as to how best to > achieve this. > > Floating point comparisons appear in code such as (taken from src/str

Re: PMC Methods, Inheritance, and User-visible Classes

2006-08-30 Thread peter baylies
On 8/31/06, Mark J. Reed <[EMAIL PROTECTED]> wrote: On 8/30/06, Luke Palmer <[EMAIL PROTECTED]> wrote: > > The problem with PHP is not that it has > too much functionality, but that it is organized extremely poorly. Amen. PHP is the poster child for namespace pollution. And PHP5 actually has

Re: LLVM and HLVM

2006-08-23 Thread peter baylies
On 8/23/06, Aaron Sherman <[EMAIL PROTECTED]> wrote: On 8/23/06, peter baylies <[EMAIL PROTECTED]> wrote: > On 8/22/06, John Siracusa <[EMAIL PROTECTED]> wrote: > > > > Has anyone looked at LLVM lately? [...] On the other hand, Parrot built quite nicely on

Re: LLVM and HLVM

2006-08-23 Thread peter baylies
On 8/22/06, John Siracusa <[EMAIL PROTECTED]> wrote: Has anyone looked at LLVM lately? Yes, actually, I was looking at it just the other day. I couldn't get it to build on x86-64, but I talked to some of the developers over in their IRC channel, and they told me that this would be forthcoming

[PATCH] mandelbrot.pir optimizations

2005-12-23 Thread peter baylies
This should fix the slowdown from the previous patch, while maintaining correct output. It speeds things up by about 15% for me, using JIT on x86. --- mandelbrot.pir 2005-12-23 02:50:52.0 -0500 +++ mandelbrot-opt.pir 2005-12-23 03:15:53.0 -0500 @@ -68,15 +68,14 @@ Ci

[PATCH] trivial patch to mandelbrot.pir to make it comply like it should have in the first place :(

2005-12-22 Thread peter baylies
Short version: uncomment lines 86-87, patch follows. I was hoping I wouldn't need them, but I was wrong. This has been tested, and should produce the correct output now. --- mandelbrot.pir 2005-12-22 11:51:15.0 -0500 +++ mandelbrot-new.pir 2005-12-22 11:51:07.0 -0500 @@ -83,8

harmonic test program for shootout (attached)

2005-12-15 Thread peter baylies
This one is really trivial, but I'm not complaining. =head1 NAME examples/shootout/harmonic.pir - Partial sum of Harmonic series =head1 SYNOPSIS % ./parrot examples/shootout/harmonic.pir 1000 =head1 DESCRIPTION Translated from C code by Greg Buchholz into PIR by Peter Baylies &l

mandelbrot test program for shootout (attached)

2005-12-15 Thread peter baylies
The mandelbrot benchmark looked like it'd be an easy one to implement, and lo and behold, it was! I haven't optimized this at all really, but it seems to run fairly quickly anyhow. -- Peter Baylies =head1 NAME examples/shootout/mandelbrot.pir - Print the Mandelbrot set =head