Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: Ingtar
Why are JAVA programs so much slower than their counterparts?

I'm not sure what it has to do with the issue at hand, but it is largely because it is an interpreted language. There is an extra layer of abstraction between the program and the bare metal because it runs in a jvm. So, you have hardware, you have an OS, then you have a JVM, then you have the java program. It's a trade off between portability and some speed. You can take the exact same java program an whether you are  on linux, or windows, or OSX or whatever, and as long as you have written your code correctly, it will run.



7 posted on 01/13/2012 7:10:00 PM PST by zeugma (Those of us who work for a living are outnumbered by those who vote for a living.)
[ Post Reply | Private Reply | To 6 | View Replies ]


To: zeugma

Even if it’s written correctly, that whole working thing is in something of a relative sense. No, I’m totally not a jaded Minecraft player...


8 posted on 01/14/2012 3:00:10 AM PST by Fire_on_High (WTB new tagline, PST!)
[ Post Reply | Private Reply | To 7 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson