Using Python for programming algorithms

Ivan Illarionov ivan.illarionov at gmail.com
Tue May 20 04:32:32 EDT 2008


On Mon, 19 May 2008 08:53:11 -0700, Henrique Dante de Almeida wrote:

> On May 19, 6:52 am, Bruno Desthuilliers <bruno.
> 42.desthuilli... at websiteburo.invalid> wrote:
>> Henrique Dante de Almeida a écrit :
>>
>> > On May 17, 7:32 pm, Vicent Giner <vgi... at gmail.com> wrote:
>> >> Hello.
>>
>> (snip)
>> >> However, it is usually said that Python is not a compiled but
>> >> interpreted programming language —I mean, it is not like C, in that
>> >> sense.
>>
>> (snip)
>> >  I guess that python is not a good language for that.
>> (snip)
>> >  My opinion: choose compiled or byte compiled languages.
>>
>> Slightly OT (ie : not talking about computation-heavy alorgithm being
>> better implemented in C then wrapped in Python - this seems quite
>> obvious) but just a couple facts:
>>
>> 1/ being interpreted or compiled (for whatever definition of these
>> terms) is not a property of a language, but a property of an
>> implementation of a language.
>>
>> 2/ actually, all known Python implementations compile to byte-code.
> 
>  Yes, I was actually referring to statically typed JIT-compiled
> languages. Sorry about that, blame the beers that entered my digestive
> system that night. :-P

[beer.blame() for beer in beers]

if len(beers) > 2:
    news_reader.stop_working()

:-)



More information about the Python-list mailing list