Re: How to run typeless languages fast on parrot?

2003-11-07 Thread Sterling Hughes
At 04:10 PM 11/5/2003 -0700, Luke Palmer wrote: Actually that was pretty good for an early version. You could help IMCC out by not creating those PerlUndefs until you're going to assign to them. Also, anytime you use a temporary to assing a constant literal, you should be able to use a

Re: How to run typeless languages fast on parrot?

2003-11-07 Thread Leopold Toetsch
Sterling Hughes [EMAIL PROTECTED] wrote: php mandel2.php 1.93s user 0.01s system 76% cpu 2.552 total That's measuring IO speed mainly :) But anyway good. BTW: $ time ./yal examples/mandelbrot.yal | parrot - /dev/null real0m0.420s user0m0.420s $ time ./yal examples/mandelbrot.yal |

Re: How to run typeless languages fast on parrot?

2003-11-07 Thread Paolo Molaro
On 11/06/03 Leopold Toetsch wrote: because pmc as so much slower that native types i loose most of parrots brilliant speed due to the fact that i don't know the types at compile-time. When you get rid of all the temps and the clone[1], the loop with PMCs runs at about

Re: How to run typeless languages fast on parrot?

2003-11-07 Thread Leopold Toetsch
Paolo Molaro wrote: I couldn't resist writing an equivalent program that runs on the Mono VM:-) Very interesting. While we don't compete with typed languages, its nice to see, that parrot execution speed is in the region of mono - for such small tight loops. My *guess* is that mono executes

Re: How to run typeless languages fast on parrot?

2003-11-07 Thread Paolo Molaro
On 11/07/03 Leopold Toetsch wrote: Very interesting. While we don't compete with typed languages, its nice Oh, but mono _will_ also compete with dynamically typed languages! :-) to see, that parrot execution speed is in the region of mono - for such small tight loops. Well, that was mono

Re: How to run typeless languages fast on parrot?

2003-11-06 Thread Leopold Toetsch
Thies C. Arntzen wrote: [ most already answered, just some additional bits ] because pmc as so much slower that native types i loose most of parrots brilliant speed due to the fact that i don't know the types at compile-time. When you get rid of all the temps and the clone[1],

Re: How to run typeless languages fast on parrot?

2003-11-06 Thread Dan Sugalski
On Wed, 5 Nov 2003, Thies C. Arntzen wrote: hi, Hi ho, and glad to have you on-board. :) we've started a project (will have a web-page soon) that aims to port the php-language (www.php.net) to run on top of parrot. we've written some initial code and i'm kinda stuck

How to run typeless languages fast on parrot?

2003-11-05 Thread Thies C. Arntzen
hi, we've started a project (will have a web-page soon) that aims to port the php-language (www.php.net) to run on top of parrot. we've written some initial code and i'm kinda stuck while writing the codegen (i target imc) my problem is that php is

Re: How to run typeless languages fast on parrot?

2003-11-05 Thread Melvin Smith
At 08:54 PM 11/5/2003 +0100, Thies C. Arntzen wrote: we've started a project (will have a web-page soon) that aims to port the php-language (www.php.net) to run on top of parrot. we've written some First of all, welcome! :) I'll read your mail in depth and send a followup reply,

Re: How to run typeless languages fast on parrot?

2003-11-05 Thread Luke Palmer
Thies C. Arntzen writes: hi, we've started a project (will have a web-page soon) that aims to port the php-language (www.php.net) to run on top of parrot. Cool! we've written some initial code and i'm kinda stuck while writing the codegen (i target imc)

Re: How to run typeless languages fast on parrot?

2003-11-05 Thread Melvin Smith
At 04:10 PM 11/5/2003 -0700, Luke Palmer wrote: Actually that was pretty good for an early version. You could help IMCC out by not creating those PerlUndefs until you're going to assign to them. Also, anytime you use a temporary to assing a constant literal, you should be able to use a I/S/N reg.

Re: How to run typeless languages fast on parrot?

2003-11-05 Thread Melvin Smith
At 06:26 PM 11/5/2003 -0500, Melvin Smith wrote: Also, anytime you use a temporary to assing a constant literal, you s/assing/assign =0) -Melvin