Why Python?

Bob Ippolito bob at redivi.com
Mon Mar 1 14:56:00 EST 2004


On 2004-03-01 09:02:01 -0500, claird at lairds.com (Cameron Laird) said:

> In article <1045c7gfn9ipj38 at corp.supernews.com>,
> Robert M. Emmons <RobMEmmons at cs.com> wrote:
> 			.
> 		[apt comments]
> 			.
> 			.
>> What's not good in python:
>> 
>> *  If speed is more important than coding time use C/C++ instead.
>> *  If you want to obscruate your code maybe a compiled langague is better.
>> 
>> Rob
> 
> Note the availability of pyobfuscate <URL:
> http://www.lysator.liu.se/~astrand/projects/pyobfuscate/ >.
> 
> Myself, in the absence of more details, I advise people for
> whom speed is important to work in Python--but be prepared
> to combine it with C coding (or even assembler!  I've been
> experimenting lately ...).

One thing to note is that it is *reasonable* to combine C, C++, 
assembly, etc with Python because the Python API is consistent and 
understandable, and doesn't require a confusing "precompiler" (though, 
Pyrex is a great one).

-bob




More information about the Python-list mailing list