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

To: Halfmanhalfamazing

Why are JAVA programs so much slower than their counterparts?


6 posted on 01/13/2012 12:04:22 PM PST by Ingtar (If the GOP wants my vote, they should start fielding candidate for whom I can vote - Jemian)
[ Post Reply | Private Reply | To 1 | View Replies ]


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 ]

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