Can Python be written in Python?
Andrew Henshaw
andrew.henshaw at gtri.gatech.edu
Thu Dec 12 22:10:16 EST 2002
Skip Montanaro wrote:
>
> Michael> However, mostly when people talk about languages being
> Michael> "faster", they mean something completely different. If you
> look Michael> at something like the Great Computer Language Shootout
> Michael> (http://www.bagley.org/~doug/shootout/) you'll see people
> Michael> comparing the SAME algorithm written in different
> Michael> languages. (see
> Michael> http://www.bagley.org/~doug/shootout/method.shtml#sameway in
> Michael> particular).
>
> I don't know what the GLCS submission methodology is, but perhaps someone
> running a Psyco-compatible platform could run these tests and submit them.
>
> Skip
I tried Psyco on the Shootout's Sieve and Heapsort implementations. For
Sieve, I got about a 30x speedup; for Heapsort, I got a 9x speedup. Both
of these results would put Python very close to the Java results.
I haven't submitted these tests -- his 'News' page states that he has frozen
the shootout and no updates are planned.
Andy Henshaw
More information about the Python-list
mailing list