When Python outruns C++ ...

Mike Meyer mwm at mired.org
Tue Apr 1 11:51:27 EST 2003


"Max Khesin" <max at cNOvSisiPonAtecMh.com> writes:

> > Yes, but humans aren't good optimizing compilers.
> So who writes optimizing compilers? :). Anyway, there are lots of
> super-optimized C++ libs that take advantage of C++ access to the machine
> and compile-time decision-making

And many of them are part of the runtime support of languages like
Python, or otherwise available to Python programmers.

The trick to getting good performance out of interpreted languages is
doing things to take advantage of those libraries. Sometimes, you may
have to wrap the libraries yourself. But after you've done that,
you've got an interactive environment to experiment with the libraries
in. That may be the most valuable thing to come out of doing the
wrapping.

        <mike
-- 
Mike Meyer <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.




More information about the Python-list mailing list