Java vs Python
Martijn Faassen
m.faassen at vet.uu.nl
Mon May 15 05:50:10 EDT 2000
Erno Kuusela <erno at iki.fi> wrote:
[snip]
> HD> 3 Which is faster eg. Java servlets or Python CGI with
> HD> mod_python ?
> cgi is usually a bit slow, whether you use it to run java or python
> or perl or cobol programs.
Not if you run it with something like mod_python. CGI is slow because it
keeps firing up interpreters. Things like mod_python (or Zope for
that matter) make this unnecessary; a python interpreter stays in
memory. Unless there's something else about CGI making it slower? I
can't imagine what, though.
Regards,
Martijn
--
History of the 20th Century: WW1, WW2, WW3?
No, WWW -- Could we be going in the right direction?
More information about the Python-list
mailing list