tag:blogger.com,1999:blog-22620103.post7964724996487139942..comments2022-03-24T11:50:11.409+02:00Comments on The Vault: Java vs Pythonkilonhttp://www.blogger.com/profile/09850963377968243298noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-22620103.post-15994015294922406912011-03-17T19:44:19.587+02:002011-03-17T19:44:19.587+02:00It's also important to keep in mind that as fa...It's also important to keep in mind that as far as the speed difference:<br /><br />1) Modern JIT compilers are making the speed difference between a lot of native and "interpreted" code very small. Of course there are still some areas where native code is going to be much, much faster. But these areas are becoming rarer with better compiler technology.<br /><br />2) Python is very easy to use with C/C++, so you can get the benefit of rapid application development and simpler code (i.e. less bugs) using Python, and then tackle the performance bottlenecks in C/C++Jesse Taylorhttp://www.jrtayloriv.netnoreply@blogger.comtag:blogger.com,1999:blog-22620103.post-90706348234622565792010-06-30T00:23:19.112+03:002010-06-30T00:23:19.112+03:00Python is better than JAVA. Because we can do any ...<b>Python is better than JAVA. Because we can do any thing using python. It's a scripting language.We don't need and other language for web development like java script. We can make .exe file for windows. can use java modules, ctypes for low level programming. Gui programming can be done with .net as well as for open source programming.There are number of IDEs for python. Glade & Qt are the popular designers for gui. Syntax is too much easy then any other language. Data structures are simple and useful for complex programmes. Python is part of LSB (Linux Standard Base).</b>Dipanjanhttps://www.blogger.com/profile/12782035893404907514noreply@blogger.comtag:blogger.com,1999:blog-22620103.post-60031021091217609652010-02-06T15:03:16.236+02:002010-02-06T15:03:16.236+02:00Hi there sorry for the late reply.
Well I turned...Hi there sorry for the late reply. <br /><br />Well I turned to python, I think now I can understand further how to make python work properly for me. <br /><br />About Speed I have discovered Cython which can speed things up even beyond Java speed and reaching C/C++ speed. It is 100% python syntax with the addition of some statically typing . So I have to say I am very impressed. <br /><br />Also I took a look to ctypes and looks extremely cool , being able to use any C/C++ library directly , without any wrapping. Very powerful stuff. <br /><br />So the ability of python to mess with C/C++ libraries with no C/C++ coding is pretty impressive. <br /><br />I still wish there was more and better documentation, and some deeper IDEs especially in the GUI section, but still python has become my favourite language and I now use it for a project of mine that I do for fun. <br /><br />So I have to say that now I am programming with python solely. <br /><br />Java was fun , but python is better for my needs. And with Cython I can have all the advantages of C/C++ with no disadvantages . <br /><br />Hard to say no to this offer. <br /><br />So for now I vote Cython and Python , a deadly combination offering the best of the programming world. <br /><br />Except a blog post about this.kilonhttps://www.blogger.com/profile/09850963377968243298noreply@blogger.comtag:blogger.com,1999:blog-22620103.post-34794210867614812112009-12-04T21:08:35.543+02:002009-12-04T21:08:35.543+02:00I stumbled across your blog while researching some...I stumbled across your blog while researching something at work. I don't want to sound like a Python zealot; there are enough of those. As a student, I learned on both Python/Jython and Java at the same time, which made for an interesting learning experience.<br /><br />1. I definitely agree that the Python documentation has a lot of flaws. Its pretty inconsistent and spotty. And from what I've seen, Java has some of the best documentation of all of the languages, both because of its age/popularity and the standards it poses to users. I think part of Python's differences on this may be due to its interactive nature. When I'm faced with a module I havn't used before, I spend some time looking it over and playing with it in the interactive interpreter, which is something you don't really have as an easy option in Java; its just not designed with that aspect in mind. But when you you <i>do</i> need documentation, it is certainly sub par.<br /><br />2. I don't think anyone can really argue that Python is faster than Java; it's just not. I don't have that much experience benchmarking languages, but does using the C (or Java, for Jython) libraries when working with video still slow it down significantly? I know there's overhead with loading up Jython and such, but is the actual run time all that much worse? If you're doing something that heavy, Python just might not be the solution for you.<br /><br />3. Lack of good IDEs? What do you define as a good IDE here? What exactly are you looking for that the standard Eclipse/netbeans options address?<br /><br /><br />I'm not saying Java is a bad language; its great and I do use it often. I'm not saying Python is easier than Java, I think that really comes down to the person using the language and what they do with it. I think some people approach Python as another C++/Java style language, and its not. You have to make some sacrifices for the features that Python provides. I don't think those sacrifices make Java an easier choice.axiomabsolutehttps://www.blogger.com/profile/10431141938885599096noreply@blogger.com