Python vs. Perl vs. PHP?
wilkSPAM at OUTflibuste.net
Thu Jul 31 09:38:17 CEST 2003
faizan at jaredweb.com (Fazer) writes:
> Graham Breed <usenet at microtonal.co.uk> wrote in message news:<FzRVa.11353$R14.4280 at news-binary.blueyonder.co.uk>...
>> Diez B. Roggisch wrote:
>> > http://www.bagley.org/~doug/shootout/craps.shtml
>> > Python is place 13, with a speed index of 578. PHP is second last (before
>> > bash) and has a speed index of 197.
>> Those benchmarks are doubly useless for the question at hand. Firstly,
>> they only test command line applications. Secondly, PHP is compiled
>> without optimizations because the rules state that only the default
>> configuration can be used. See question 8 of the FAQ:
> Yeah, I read the FAQ as well. I am basically looking for a FAST
> alternative to PHP meaning the responce time is fast. Do you think
> that Python with using the CGI module is a good solution?
It depends what you mean by fast, and which kind of task you'll to
If you really need fast answer, you'll need to use a webserver or
mod-python to keep the data in memory.
If you need fast execution, you can code a part in C.
William Dode - http://flibuste.net
More information about the Python-list