In article <[EMAIL PROTECTED]>, Jack <[EMAIL PROTECTED]> 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 ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Typing is cheap. Thinking is expensive." --Roy Smith -- http://mail.python.org/mailman/listinfo/python-list