Moderators: KDoiron, ChrJim, mawe, python

bsod1 wrote:I really wonder, how can Java be this faster than Python, while both of them are compiling, and then interpreting by a virtual machine?

What? I mean, in general, not in my code and machine, it's common that Java is faster and faster than Python, I wonder, why(because working logic is same)?waz wrote:bsod1 wrote:I really wonder, how can Java be this faster than Python, while both of them are compiling, and then interpreting by a virtual machine?
What? You might want to post the machine specs, the code you're benchmarking with, and any other special considerations...

bsod1 wrote:I wonder, why(because working logic is same)?waz wrote:bsod1 wrote:I really wonder, how can Java be this faster than Python, while both of them are compiling, and then interpreting by a virtual machine?
What? You might want to post the machine specs, the code you're benchmarking with, and any other special considerations...


OK, let's ask in a different way, how can Java code run faster than CPP code, while Java code is first compiling and then interpreting?!
waz wrote:The trade off is productivity.


Users browsing this forum: Google [Bot] and 2 guests