Python Worst Practices

BartC bc at freeuk.com
Sun Mar 1 07:47:17 EST 2015


On 01/03/2015 02:08, Steven D'Aprano wrote:
> BartC wrote:
>
>> On 28/02/2015 15:33, Mark Lawrence wrote:
>>
>>> It also makes me wonder what idiot decided to use C as the language for
>>> the first Python implementation? Or was it written in something else and
>>> then ported?
>>
>> Python was already slow enough even written in C.
>
>
> Tell that to the IronPython developers.

This was about the first implementation of Python. Wikipedia tells me 
that Python first appeared in 1991, while IronPython dates from 2006, 
and is apparently written in C# which came out in 2000.

 > Of course, benchmarks are very variable, depending on what you wish 
to do,
 > and a few things (like exceptions) are very much slower in IronPython:
 >
 > 
http://ironpython.codeplex.com/wikipage?title=IP27A1VsCPy27Perf&referringTitle=IronPython%20Performance

And Hello World seems to be about 15 times slower. (Actually how can any 
Hello World program take more than a second to run?)

-- 
Bartc




More information about the Python-list mailing list