I am starting work on what will be a rather large project involved in real-time trading (NOT high frequency, but intraday). I've been stumped on the decision to go with Python or Java, which boils down to runtime performance.
After doing lots of research, I have not been able to reach any kind of stable conclusion regarding the performance capabilities of these two languages.
From what I can tell, although Java memory footprint is larger, as well as taking longer to start, it seems that it performs faster than Python does. Although I have read about popular JIT compiler add-ons for python, such as PyPy, that rumor C-like speeds.
So I ask you hackers: which language is better suited for a large enterprise application? This is not a website, it is an application that provides presentation through a browser for private use.
Thank you for your insights.
Depending on what you're doing, Python may very well be faster than Java. I've done a lot of work with NumPy and found it to be both faster and safer than third rate roll your own numeric libraries that so Java programmers like to write. I've also had good success with Pyrex/Cython.
Assuming that run time performance won't be the determinative factor, your decision will probably come down to libraries and aesthetics more than anything else. I'd go with Python since I think it would allow you to iterate faster, but that's a very subjective decision.