On Mon, 2009-04-20 at 20:12 +0100, Tim Wintle wrote: > > I can't remember Java properly, but... > > Firstly, speed will depend on what you're writing. I dont' actually know > how much slower python is, but I'm sure there are some things that run > faster in python. > I know many instences which eventually show that python is faster.
Compare eclipse and glade. I am not a hard core hacker on compiles or interpriters but as an end-user, I see almost all java programs r pritty heavy on memory and python is pritty fast and zippy. I for example use a screen reader called orca, because I am totally blind. Guess what, the screen reader moniters every event that happens in the OS (gnu) and also extracts all the information of every widget and keeps track of the location of the focus and many more things and also constantly streems output to a speech synthesizer as it take the information from the desktop. All this should happen at run-time without any latency. This software is in python and it delivers what it is supposed to at great speed. Further, I have an accounting software which was previously in java, but now in python and the performance gain is ausom. Yes it depends on how we write the code but comparing the 2 at least at the middle layer and front-end (pygtk) python is faster than java. Infact I am most certain that swing is not even 50% as fast as pygtk or pyqt. These are my personal observations and should not be taken as generalisations. happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list