keakon
2011-01-03 10:43:15 +08:00
Actually, for most web apps, language is not the bottleneck.
Rendering an page normally costs less than 10ms, while the database accessing and network latency are much more expansive than it (maybe hundreds or thousand ms).
I don't think Java could do it better since it took more time for rendering a same dynamic JSP page and connecting to MySQL in my previous testing.
Don't think dynamic languages are always slow than static languages, you'll find the answer when you need dynamic features.
In my opinion, Java is almost the worst choice which makes everything much much more complex (normally 10x code lines), uses much much more memories (normally 3x memory usage), and also takes much much more money to buy suitable servers.
I've been a Java coder for years, I couldn't find any interesting of it.
The only superiority of Java coders I found was coming from the performance of toy programs. Otherwise, I can't explain why your friend likes complaining by using "shit" while Pythoners don't.