Do I really need to learn Java?

Kemp Randy-W18971 Randy.L.Kemp at
Tue May 15 18:02:18 CEST 2001

Mod Perl is not necessarily faster that Java Servlets.  Look at benchmarks done on and

-----Original Message-----
From: Alan Gauld [mailto:alan.gauld at]
Sent: Tuesday, May 15, 2001 8:32 AM
To: python-list at
Subject: Re: Do I really need to learn Java?

Remco Gerlich wrote:
> Java is probably a lot faster than Python, I don't know. 

I've seen this claim several times but in all the tests that 
I've done its been slightly slower. Not much, usually about 
10%, and I know how to optimise Python better than I do Java. 
Also I was using the raw JVM not a JIT compiler so that 
would probably speed things up a bit.

BTW I've found the same with Perl for Web apps. 
modPerl seems significantly faster than Java servlets.

These have been very unscientific tests and perforce on small
programs(~100 lines Python/Perl vv ~200 lines Java)

I'd be interested if anyone has more reliable evidence 
- in either direction...

Alan G

More information about the Python-list mailing list