Thread: Any news on N9
View Single Post
Posts: 376 | Thanked: 511 times | Joined on Aug 2009 @ Greece
#36
Originally Posted by tswindell View Post
A good Java VM implementation is much faster than Python. But Java is a bit of a nasty language imo, then again, I'm not a massive Python fan either, but I do like high level dynamic languages.
That sounds like FUD. You can't possible make such a generic statement. Where are you basing this statement ?

FWIW, most python code uses libraries which are written in C/C++. This means that only a small fraction of the actual program runs in python. I hope you're not benchmarking a for loop but a full program instead.

Also, you cannot compare those two languages since java practically does not use any libraries at all. At best it has language extensions but not any libraries that other non-java programs may use. Python on the other hand mostly uses existing platform libraries and wraps them. As such, you cannot compare a gui program written in java and in python since the java version will have a very very bad gui with many limitations. Just try to make a GTK or Qt or Wx or ...(fill the blank)... -based gui in java. Since you cant, you cannot perform realistic speed comparisons.

my 0.02€