> But suppose someone came up with a Python compiler. It > would compile any Python program but there would be no > speed benefit unless you carefully wrote the code to not use > many of Python's dynamic features, so that either by type > inferencing or programmer supplied static declarations, the > compiler could generate efficient native machine code > that executes at near C speeds. > Obviously this would require changes (mostly additions?) > to the Python language, though these changes would still > allow today's style dynamic code to be written and run > (though just as slow as today's runs). > The payout would be that things written as C-extensions > today, would be writable in (a restricted form of) Python. > Would the Python orthodoxy favor such a development? > Or would that be turning Python into a screwdriver? > >
i agree with you... pyrex should be part of the python distribution :) bryan -- http://mail.python.org/mailman/listinfo/python-list