Using Python for programming algorithms

Vicent Giner vginer at gmail.com
Mon May 19 14:07:06 EDT 2008


On May 19, 6:11 pm, Henrique Dante de Almeida <hda... at gmail.com>
wrote:
> On May 19, 7:03 am, Bruno Desthuilliers <bruno.
>

>  I'm pretty sure about that: when the algorithms take 4 hours to test
> a single execution, you value processor time.


Yes, of course, but that should mean that I have to do it better, in
the programming step (I would have to re-program or re-implement my
algorithm). And I think the problem would be the same in any other
language, wouldn't it?


>  The situation would be simpler if there were good well-known toolkits
> for optimization in python (like numpy for matrix operations), but
> that's not the case.

Are there such toolkits in other languages? I am not sure they exist
in C, for example.

By the way, is it possible (and easy) to call a C function from a
Python program??






More information about the Python-list mailing list