Python Performance

Robert Kern kernr at mail.ncifcrf.gov
Tue Jul 27 17:54:00 EDT 1999


On Tue, 27 Jul 1999 14:19:06 -0500 (CDT), Skip Montanaro
<skip at mojam.com> wrote:

>
>    Eugene> Skip Montanaro writes:
>    >> True.  I was thinking about the situation I'm in (small developer, a few
>    >> machines to maintain/upgrade/replace).
>
>    Eugene> What's wrong with recoding the hot spots in C? Python is
>    primarily a rapid prototyping/scripting/glue language, it was never
>    meant as a sole implementation language for applications.
>
>There's nothing wrong with recoding hot spots in C.  Many people do it all
>the time.  Practically speaking, however, many Python users don't have the
>technical depth or other resource (VC++, for instance) 

Just to address this for-instance, you can compile Python extensions
for Win32 systems using the free egcs compiler.
See <URL: http://starship.python.net/crew/kernr/mingw32/Notes.html>
for more information.

List of modules that I've compiled using this setup:
  * MMTK 2.0a9
  * Konrad Hinsen's NetCDF interface
  * Zope 2.0a3 (which includes ExtensionClass et al.)
  * mxCrypto
  * mxTextTools
  * mxTools
  * SAML interface
  * Numerical Python
  * Multipack
  * FFTW-numpy
  * Readline module
  * sparsemodule
  * gmpmodule
  * PyGLTT
  * and probably some more that I've forgotten about

>to write chunks of
>their applications in C or C++.
>
>Skip Montanaro	| http://www.mojam.com/
>skip at mojam.com  | http://www.musi-cal.com/~skip/
>847-475-3758

Robert Kern           |
----------------------|"In the fields of Hell where the grass grows high
This space            | Are the graves of dreams allowed to die."
intentionally         |           - Richard Harter
left blank.           |




More information about the Python-list mailing list