> Since I'm quite into Python these days, I wonder: while we all know that > Python is slower than C/C++, where do you think can we get real-world > numbers to tell us just how much slower it is, and for what types of > applications?
Anywhere from 10 to 100 times slower than C. But in practice, GUI programs built with Python actually feel much snappier than Java Swing apps! This is because unlike Swing which is written in Pure Java, the Python code calls widgets written in C. IBM's Eclipse project aims to provide native widget implementation (among other things) for Java and looks quite interesting. Also, the fact that there are so many Python extensions out there written in C means that in practice, your app is going to perform quite well. For example, you can use NumPy to do numerical stuff (what you would usually use Fortran/C++ libraries for) and have very performance very close to a pure C/C++ or Fortran app while being able to take advantage Python's unsurpassed power and ease of use. > Think have you ever encountered a java program that was > snappy, responsive and fast and polite on system resources? Not too many, but a few come to mind. Anfyjava's demos and Space Cowboy - both resource intensive animated 3d graphics apps. _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
