Is it Python or is it C ?

Robert Kern kern at caltech.edu
Wed Mar 8 15:35:02 EST 2000


In article <ITsx4.5053$yL2.49717 at typhoon.southeast.rr.com>,
	"Don Tuttle" <tuttledon at hotmail.com> writes:
> "Rod Haper" <
>> Have you tried posing the question direction to Grayson via the Manning
>> website
> 
> No.  Although I may have made my question a little to open ended, I'm
> looking for a peer review on the concept --"With a little care in the way
> you design your code, most of your code will run as compiled C..."
> 
> If there is a way to optimize Python, short of memorizing it's source code
> and/or years of trial and error, someone should have their next book
> project! (I'll buy it!)  And I say this as someone who doesn't have enough
> Python experience to know if this is a true statement or not.
> 
> So, is there a way to design Python code, short of memorizing it's source
> code and/or years of trial and error, that will make most of the code will
> run as compiled C? And if so, where do I find it and how much is it gonna
> cost me<wink>?

I believe that what the author was referring to was the use of builtin
functions, which of course, execute at C speed.

> Don

-- 
Robert Kern
kern at caltech.edu

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter



More information about the Python-list mailing list