ANN: Shed Skin 0.2, an experimental (restricted) Python-to-C++ compiler

William Dode wilk at flibuste.net
Wed Jul 22 12:45:19 EDT 2009


On 22-07-2009, George Sakkis wrote:
> On Jul 22, 7:38 am, William Dode <w... at flibuste.net> wrote:
>
>> I updated the script (python, c and java) with your unrolled version
>> + somes litle thinks.
>>
>> I also tried with python3.1, unladen Q2, ironpython1.1.1
>>
>> Unfortunately it doesn't work more with shedskin, i'll see on the
>> shedskin group...
>>
>> c 1.85s
>> gcj 2.15s
>> java 2.8s
>> python2.5 + psyco 3.1s
>> unladen-2009Q2 145s (2m45)
>> python2.5 254s (4m14s)
>> python3.1 300s (5m)
>> ironpython1.1.1 680s (11m20)
>
> Cool; it would be interesting to see the numbers for Jython and Boo as
> well if it's not too much effort.

I just tried with jython, but oddly it's faster without array.
Thanks to Mark, i could compile to shedskin again.
And add somes little improvements...

c 1.65s
gcj 1.9s
java 2.4s
python2.5 + psyco 2.9s
shedskin 3.4s
unladen-2009Q2 125s (2m05)
Jython 2.2.1 on java1.6.0_12 176s (without array, like shedskin)
Jython 2.2.1 on java1.6.0_12 334s (with array)
python2.5 215s (3m35s)
python3.1 246s (4m06s)
ironpython1.1.1 512 (8m32s)


-- 
William Dodé - http://flibuste.net
Informaticien Indépendant



More information about the Python-list mailing list