Have Guido and Dan been practicing their aim with a pie? The topic of the Python/Parrot shootout hasn't come up in awhile. I thought I'd ask since OSCON 2K4 is only a couple weeks away. Skip
On Wed, Jul 14, 2004 at 04:45:23PM -0500, Skip Montanaro wrote:
Have Guido and Dan been practicing their aim with a pie? The topic of the Python/Parrot shootout hasn't come up in awhile. I thought I'd ask since OSCON 2K4 is only a couple weeks away.
An outdated weblog entry I wrote: http://www.amk.ca/diary/archives/cat_python.html#003176. I'll try to write another update once I actually get it to run Python code. Serious development activity in Parrot CVS started a few days before the end of June. At this point there are a few basic data types (string, int, float, lists, complex), a subset of the built-in functions (divmod, hex, chr, etc. -- map/filter/reduce are the most complicated ones implemented), and exceptions work to some degree. It can run a version of the pi() function in b0.py that's been rewritten to not use yield. Single-parent classes are being implemented at this point, but it's not clear whether they work at all; ask again in a few days. Can they finish within the time available? I'm not sure; Python is a relatively small language but it's not *that* small, and there's still a lot left to do. The approach being taken is translating the bytecode; there's a languages/python/piethon.pl script that takes a .pyc and produces a Parrot assembly file. There's some subtlety to invoking it, though, because the PASM produced doesn't actually assemble for me. I haven't yet figured out how to run a snippet of Python code using Parrot, so this assessment comes from looking at the code. (This means I obviously don't have any performance numbers either.) I forget the terms of the bet; is it running on Python 2.3.4, or the 2.4alpha1 release, or on Python CVS? Maybe we should check that 2.4CVS hasn't regressed in performance when compared to 2.3. --amk
amk> I forget the terms of the bet; is it running on Python 2.3.4, or the amk> 2.4alpha1 release, or on Python CVS? Maybe we should check that amk> 2.4CVS hasn't regressed in performance when compared to 2.3. I saw somewhere today when searching (maybe Dan S's website?) that it was 2.3 as of about December 2003. Skip
Maybe we should check that
2.4CVS hasn't regressed in performance when compared to 2.3.
Test results on my machine comparing Py2.4a1 vs Py2.3.4: Parrotbench runs 10% faster on Py2.4a1 PyBench runs 11% faster on Py2.4a1 PyStone runs 6% faster on Py2.4a1 test_decimal.py runs 7% faster on Py2.4a1 My personal apps run 8 to 17% faster on Py2.4a1 without using new features. These tests gain 2-4% if profiling of C functions is disabled for an apples to apples comparison to Py2.3 which doesn't profile C functions. Raymond
Have Guido and Dan been practicing their aim with a pie? The topic of the Python/Parrot shootout hasn't come up in awhile. I thought I'd ask since OSCON 2K4 is only a couple weeks away.
Last week I've answered a few emails from Dan's minion who is responsible for the actual Python port, and Kevin Altis found us an impartial judge. So I better start practice my throwing, and Dan better start practice his ducking. ;-) --Guido van Rossum (home page: http://www.python.org/~guido/)
I forget the terms of the bet; is it running on Python 2.3.4, or the 2.4alpha1 release, or on Python CVS? Maybe we should check that 2.4CVS hasn't regressed in performance when compared to 2.3.
Whatever's in CVS for 2.4. --Guido van Rossum (home page: http://www.python.org/~guido/)
On 15 Jul 2004, at 03:49, Guido van Rossum wrote:
So I better start practice my throwing, and Dan better start practice his ducking. ;-)
Shouldn't you do practice sessions?
I would have loved to volunteer, but I won't be at OSCON. But maybe we
could take a vote as to which python-dev member we would really like to
see as your sparring partner:-)
--
Jack Jansen,
participants (6)
-
A.M. Kuchling
-
Barry Warsaw
-
Guido van Rossum
-
Jack Jansen
-
Raymond Hettinger
-
Skip Montanaro