Python vs. Perl vs. PHP?
Stefan Arentz
stefan.arentz at soze.com
Fri Aug 1 03:39:42 EDT 2003
Wilk <wilkSPAM at OUTflibuste.net> writes:
> faizan at jaredweb.com (Fazer) writes:
>
> > Hello,
> >
> > I am an avid user of PHP and I am just fooling around with Python for
> > now. I originally wanted to know which one is faster. As in, works
> > faster. So far, I think PHP is the fastest for dynamic web-content.
> > Am I wrong?
>
> yes for two reasons, one relative, one more objective :
>
> - you'll write cleaner and shorter programs with python, so more easy to
> optimize
A bad programmer will write shitty code in both PHP and Python.
> - when you'll really need speed, you'll write standalone web-server with
> python, and so a lot more eficient and fast in high trafic.
Compared to Apache 2.0 with PHP/Zend & Accelerator? I honestl don't think
so. When PHP is compiled to native code it is as fast as Java or C.
S.
More information about the Python-list
mailing list