first release of PyPy

Skip Montanaro skip at pobox.com
Sat May 21 11:25:08 EDT 2005


    beliavsky> C++ is a higher level language than C, 

>From the compiler's viewpoint C++ is not much higher level than C.  It has
the same basic types, (structs, unions and C++ classes are really the same
thing data-wise, though C++ classes can be somewhat more complex
layout-wise) and supports pointers to those types as well as void pointers
(pointers to untyped memory).  In addition, the operators are essentially
the same.

Python has a somewhat higher-level set of objects, doesn't have pointers,
nor does it allow untyped pointers to random chunks of memory.  I would
think that a run-time specializing compiler like Psyco could potentially do
more with that than a C/C++ compiler can do with the data structures and
operations it has to work with.

Skip



More information about the Python-list mailing list