Is a "real" C-Python possible?
Aahz
aahz at pythoncraft.com
Sun Dec 9 16:23:30 EST 2007
In article <G62dnbBDl_Y0x8HanZ2dnUVZ_gudnZ2d at comcast.com>,
Jack <nospam at invalid.com> wrote:
>
>I understand that the standard Python distribution is considered
>the C-Python. Howerver, the current C-Python is really a combination
>of C and Python implementation. There are about 2000 Python files
>included in the Windows version of Python distribution. I'm not sure
>how much of the C-Python is implemented in C but I think the more
>modules implemented in C, the better performance and lower memory
>footprint it will get.
Prove it. ;-)
Seriously, switching to more C code will cause development to bog down
because Python is so much easier to write than C.
>I wonder if it's possible to have a Python that's completely (or at
>least for the most part) implemented in C, just like PHP - I think
>this is where PHP gets its performance advantage. Or maybe I'm wrong
>because the core modules that matter are already in C and those Python
>files are really a think wrapper. Anyhow, if would be ideal if Python
>has performance similar to Java, with both being interpreted languages.
Could you provide some evidence that Python is slower than Java or PHP?
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"Typing is cheap. Thinking is expensive." --Roy Smith
More information about the Python-list
mailing list