[ann] Minimal Python project

Paul Rubin phr-n2002b at NOSPAMnightsong.com
Tue Jan 14 12:57:10 CET 2003


"Edward K. Ream" <edream at tds.net> writes:
> 1. The main reason for thinking C is particularly suited to
> producing fast code is that in C the types of all objects are known
> at compile time.  ...  I would expect that running psyco on Python
> code will at best run half as fast as the equivalent hand-written C
> code.  The reasons are clear: psyco has neither the time nor the
> information to do as well as the best hand-written C code compiled
> by a descent compiler.

In fact some Lisp systems have been shown to produce compiled code
that runs as fast as compiled C code.  I don't see that Python needs
to be different.




More information about the Python-list mailing list