Re: [perl #37788] [TODO] dir reorg: move imcc/docs/ to docs/imcc/

2005-12-10 Thread Joshua Hoblitt
I really do believe that docs/imcc should be renamed to docs/pir and that all references to imcc be removed form docs/pir/*.pod. Are there any objections to this? -J -- On Mon, Dec 05, 2005 at 12:10:13PM -1000, Joshua Hoblitt wrote: > Perhaps docs/pir would be better as I can't think of a reas

Re: Parrot Shootout

2005-12-10 Thread Shane Calimlim
On 12/9/05, Shane Calimlim <[EMAIL PROTECTED]> wrote: > > > I ran a couple benchmarks with a language/compiler I've been toying with: > > (running on redhat el3, p4 3.2 ghz) > Ack(3,6): 509 2.85374 seconds > Ack(3,9): 4093223.19224 seconds > > Using the following code: > > ack(x, y

Re: Parrot Shootout

2005-12-10 Thread Roger Browne
Shane, > With some adjustments to the compiler I've gotten the times down to: > > Ack(3,6): 509 0.70313 seconds > Ack(3,9): 409350.51184 seconds > > Still not amazing, but I'm sure there's performance to be squeezed out yet. Does your compiled code use PMC Integers or native in

Re: Parrot Shootout

2005-12-10 Thread Leopold Toetsch
Roger Browne wrote: With Parrot 0.4.0, no optimizations, default runcore, Ack(3, 9) takes 233 seconds of CPU time. With "-C" this reduces to 205 seconds. I haven't tried an optimized Parrot build (so many things to do, so little time...). On the same machine, Python 2.4.1 computes Ack(3, 9) in

Compiling Parrot with Visual C++ 2005

2005-12-10 Thread Ron Blaschke
The following test results are taken from Revision 10428 on a Windows XP, Visual C++ 2005 Express Edition box. Doesn't look too bad. I only had to change one thing: Remove the declaration C from C. For that see also ticket perl #37665 [1]. Also, there are a lot of warnings for IO and string fuc

Re: [perl #37788] [TODO] dir reorg: move imcc/docs/ to docs/imcc/

2005-12-10 Thread jerry gay
On 12/10/05, Joshua Hoblitt <[EMAIL PROTECTED]> wrote: > I really do believe that docs/imcc should be renamed to docs/pir and > that all references to imcc be removed form docs/pir/*.pod. > > Are there any objections to this? > imcc is the compiler for three languages: PIR, PASM, and PAST. therefor

Re: [perl #37788] [TODO] dir reorg: move imcc/docs/ to docs/imcc/

2005-12-10 Thread Larry Wall
On Sat, Dec 10, 2005 at 08:36:46AM -0800, jerry gay wrote: : imcc is the compiler for three languages: PIR, PASM, and PAST. So just rename the directory to P*. Oh, wait... Larry

Re: Parrot Shootout

2005-12-10 Thread Roger Browne
Shane Calimlim wrote: > You can see the generated PIR here: http://theguildforge.com/ack.pir Wow, that's nice tight code for something that's spat out by a compiler. Well done Shane! I've appended Amber's generated PIR to this message. No need to tell me all the ways that it can be improved, beca

Re: parrot directory reorganization (phase 2 mark 2)

2005-12-10 Thread jerry gay
On 12/8/05, jerry gay <[EMAIL PROTECTED]> wrote: > On 12/8/05, jerry gay <[EMAIL PROTECTED]> wrote: > > the first phase of the directory reorganization is complete. all > > directory moves which do not involve the src/ directory are done. hope > > this clears things up a bit. next, i'll be addressi

Re: Parrot Shootout

2005-12-10 Thread Shane Calimlim
On 12/10/05, Roger Browne <[EMAIL PROTECTED]> wrote: > > Does your compiled code use PMC Integers or native ints? (I'm using > PMCs). > > Regards, > Roger Browne My goal is to have the compiled code as simple as possible, so the compiler uses native ints and strings if it can. I also upgraded t

Re: [perl #37876] Bug with Parrot::IO test

2005-12-10 Thread Alberto Simões
We can depend on 3.13 instead of 3.14. From File::Spec Changelog: 3.13 Tue Nov 15 23:50:37 CST 2005 [...] - abs2rel() used to return the empty string when its two arguments were identical, which made no sense. Now it returns curdir(). [Spotted by David Golden] So, maybe we should repl

Re: [perl #37876] Bug with Parrot::IO test

2005-12-10 Thread Alberto Simões
Alberto Simoes via RT wrote: We can depend on 3.13 instead of 3.14. From File::Spec Changelog: 3.13 Tue Nov 15 23:50:37 CST 2005 [...] - abs2rel() used to return the empty string when its two arguments were identical, which made no sense. Now it returns curdir(). [Spotted by Dav

Re: Compiling Parrot with Visual C++ 2005

2005-12-10 Thread Leopold Toetsch
On Dec 10, 2005, at 16:50, Ron Blaschke wrote: The following test results are taken from Revision 10428 on a Windows XP, Visual C++ 2005 Express Edition box. Doesn't look too bad. Indeed. Failed Test Stat Wstat Total Fail Failed List of Failed --

Re: Parrot Shootout

2005-12-10 Thread Leopold Toetsch
On Dec 10, 2005, at 13:29, Shane Calimlim wrote: You can see the generated PIR here: http://theguildforge.com/ack.pir Indeed nice code already. You can also get rid of "subtract", "concat" et al by using the n_infix opcodes: $ cat x.pir .sub main :main .local pmc x,y,z,s x = new .I

[perl #37876] Bug with Parrot::IO test

2005-12-10 Thread via RT
# New Ticket Created by Alberto Manuel Brandao Simoes # Please include the string: [perl #37876] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=37876 > --- osname= darwin osvers= 8.0 arch= darwin-thread-multi-2level cc=

Re: [perl #37788] [TODO] dir reorg: move imcc/docs/ to docs/imcc/

2005-12-10 Thread Joshua Hoblitt
On Sat, Dec 10, 2005 at 08:36:46AM -0800, jerry gay wrote: > On 12/10/05, Joshua Hoblitt <[EMAIL PROTECTED]> wrote: > > I really do believe that docs/imcc should be renamed to docs/pir and > > that all references to imcc be removed form docs/pir/*.pod. > > > > Are there any objections to this? > >

Re: [perl #37876] Bug with Parrot::IO test

2005-12-10 Thread Joshua Hoblitt
On Sat, Dec 10, 2005 at 09:07:50PM +, Alberto Sim??es wrote: > > > Alberto Simoes via RT wrote: > >We can depend on 3.13 instead of 3.14. > > From File::Spec Changelog: > > > >3.13 Tue Nov 15 23:50:37 CST 2005 > > > >[...] > > > > - abs2rel() used to return the empty string when its two arg

Re: [perl #37876] Bug with Parrot::IO test

2005-12-10 Thread chromatic
On Sat, 2005-12-10 at 12:52 -1000, Joshua Hoblitt wrote: > I think we need to also change Parrot::IO::Directory->relative_path() to > filter out '' and replace it with '.' or else we'll have to bundle a > recent version of File::Spec with Parrot, which I'm not too enthusiastic > about. > > A revi

Re: [perl #37876] Bug with Parrot::IO test

2005-12-10 Thread Joshua Hoblitt
On Sat, Dec 10, 2005 at 03:04:09PM -0800, chromatic wrote: > On Sat, 2005-12-10 at 12:52 -1000, Joshua Hoblitt wrote: > > > I think we need to also change Parrot::IO::Directory->relative_path() to > > filter out '' and replace it with '.' or else we'll have to bundle a > > recent version of File::

Re: [perl #37788] [TODO] dir reorg: move imcc/docs/ to docs/imcc/

2005-12-10 Thread Joshua Isom
The documentation thing I've noticed too. A big reason I use perl is there's a lot of documentation and I was able to teach myself. That's not very easy with a lot of other languages. I don't deal at all with PAST because the best reference documentation would be examples/past/hello.past and

Bug or feature? Probably bug with macros

2005-12-10 Thread Joshua Isom
Since it's not documented at all that I've seen, either for or against, I'm wondering what's the arguments to macros are supposed to be. Consider this code. -- .const int TRUE = 1 .const int FALSE = 0 .macro IfElse(conditional, foo, bar) unless .conditional goto .$else .fo

Re: Parrot Shootout

2005-12-10 Thread Leopold Toetsch
On Dec 10, 2005, at 16:12, Leopold Toetsch wrote: I've now checked in ack.pir and ack.py into examples/benchmarks. And I've timed Ack(3, 9) with an optimized Parrot build: Python 13.7 Parrot -j 15.3 Parrot -C 13.8 With recent parrot (r10436) and mostly due to this patch ... $ diff

Re: Mac OS X Build Errors (0.4.0)

2005-12-10 Thread Joshua Hoblitt
On Thu, Dec 08, 2005 at 10:27:56AM +0100, Leopold Toetsch wrote: > Here are my settings from the darwin box: > > $ make > Compiling with: > xx.c > cc -g -pipe -pipe -fno-common -no-cpp-precomp -I/usr/local/include > -pipe -fno-common -Wno-long-double -g -Wall -Wstrict-prototypes > -Wmissing-prot

Re: [perl #37788] [TODO] dir reorg: move imcc/docs/ to docs/imcc/

2005-12-10 Thread Joshua Hoblitt
Random thought, is it possible to donate labor to a 503(c) and use the 'value' of that time as a tax deduction? If it is, perhaps TPF could arrange for a 'professional' tech writer to produce some high quality PIR tutorials/docs as donation. -J -- On Sat, Dec 10, 2005 at 05:49:51PM -0600, Joshua

Re: [perl #37876] Bug with Parrot::IO test

2005-12-10 Thread Joshua Hoblitt
On Sat, Dec 10, 2005 at 03:04:09PM -0800, chromatic wrote: > Seems reasonable to me, unless curdir() can ever return 0 or undef, and > also fixes my bug #37875. It there something 'magical' about 37875? RT won't let me view it. -- RT Error No permission to view ticket -- -J -- pgpL6

Re: [perl #37876] Bug with Parrot::IO test

2005-12-10 Thread Joshua Hoblitt
Awww, I bet you meant bug #37865. #37876 is clearly a duplicate so I'm going to merge #37876 into #37865. -J -- On Sat, Dec 10, 2005 at 02:48:25PM -1000, Joshua Hoblitt wrote: > On Sat, Dec 10, 2005 at 03:04:09PM -0800, chromatic wrote: > > Seems reasonable to me, unless curdir() can ever return

b0rken www docs

2005-12-10 Thread Joshua Hoblitt
Someone on #parrot just pointed out that the docs at http://www.parrotcode.org/docs/ops/ have been b0rken by the recent tree reorganization(s). I've already submitted a patch that fixes this to Will. Cheers, -J -- pgp0bpqjp1fFR.pgp Description: PGP signature

CREDITS where credit is due

2005-12-10 Thread Joshua Hoblitt
Hi Folks, I'd like to propose that we change submissions.pod to ask that patch submissions (at least from those without CI rights) include a new or updated CREDITS entries with them. Comments? -J -- pgpjltnjhlpmS.pgp Description: PGP signature

Re: [perl #37876] Bug with Parrot::IO test

2005-12-10 Thread Joshua Hoblitt
On Sat, Dec 10, 2005 at 01:21:27PM -1000, Joshua Hoblitt wrote: > On Sat, Dec 10, 2005 at 03:04:09PM -0800, chromatic wrote: > > Seems reasonable to me, unless curdir() can ever return 0 or undef, and > > also fixes my bug #37875. > > We could explicitly test if the return eq '' which would let 0

Re: Mac OS X Build Errors (0.4.0)

2005-12-10 Thread Brent Fulgham
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Dec 9, 2005, at 12:26 AM, chromatic wrote: Can a standard search path (e.g., DarwinPorts typical /opt/local/lib) be included in parrots compile, or do I need to pass something to the parrot interpreter at runtime? As I read the code, this all

Re: Mac OS X Build Errors (0.4.0)

2005-12-10 Thread chromatic
On Sat, 2005-12-10 at 21:30 -0800, Brent Fulgham wrote: > I think the problem is the weird distinction Mac OS X (Mach Kernel) > makes between shared libraries and dynamic modules. I have the shared > library (*.dylib) and the static libraries, but no "loadable" *.so modules. > > So this may