[java] Q on java performance
i'm using Deitel's Java 2 Training Course and i was wondering about how fast the language was, at least relatively. Can anyone tell me how good of a game it can make(name a real game so i can get the idea; preferably a FPS)?
Well, you have an MMORPG called Runescape (www.runescape.com) which is 3d and runs in an applet. Also, I played DOOM-like & Quake3-like betas that have an excellent framerate. It comes down to one thing though: if you program good, your program will show it. If you program poorly, your program will show that, too.
Runescape is an extremely poor example of what Java can do nowadays.
I think this'll give you some idea:
http://192.18.37.44/forums/index.php?topic=9933.0
I think this'll give you some idea:
http://192.18.37.44/forums/index.php?topic=9933.0
Undead Arena: http://home.halden.net/tombr/squareheads/squareheads.html
Jake2: http://www.bytonic.de/html/jake2.html
Tribal Trouble: http://www.oddlabs.com/tribaltrouble.php
2d games: http://www.puppygames.net/
Jake2: http://www.bytonic.de/html/jake2.html
Tribal Trouble: http://www.oddlabs.com/tribaltrouble.php
2d games: http://www.puppygames.net/
Quote:Original post by rayce
i'm using Deitel's Java 2 Training Course and i was wondering about how fast the language was, at least relatively. Can anyone tell me how good of a game it can make(name a real game so i can get the idea; preferably a FPS)?
Silly question, it doesn't make sense. Java ranges from extremely slow, to pretty decent speed, depending on which VM, interpreter and/or compiler you use.
The speed is determined by the code that ends up being executed on the CPU, and that is not Java. A good compiler will turn Java code into efficient machine code, a bad one won't. And some will turn it into bytecode that runs on a VM.
Anyway, as the others have said, you can do some pretty decent things in Java.
Quote:Original post by SpoonbenderQuote:Original post by rayce
i'm using Deitel's Java 2 Training Course and i was wondering about how fast the language was, at least relatively. Can anyone tell me how good of a game it can make(name a real game so i can get the idea; preferably a FPS)?
Silly question, it doesn't make sense. Java ranges from extremely slow, to pretty decent speed, depending on which VM, interpreter and/or compiler you use.
The speed is determined by the code that ends up being executed on the CPU, and that is not Java. A good compiler will turn Java code into efficient machine code, a bad one won't. And some will turn it into bytecode that runs on a VM.
Anyway, as the others have said, you can do some pretty decent things in Java.
alright then; which ide is the best for java? i thought it was just an interpreted language...it can be compiled into machine code as well? so that means it does not need the VM to operate, like an .exe file?
Quote:Original post by SpoonbenderQuote:Original post by rayce
i'm using Deitel's Java 2 Training Course and i was wondering about how fast the language was, at least relatively. Can anyone tell me how good of a game it can make(name a real game so i can get the idea; preferably a FPS)?
Silly question, it doesn't make sense. Java ranges from extremely slow, to pretty decent speed, depending on which VM, interpreter and/or compiler you use.
And, let's not forget, how you write your code. :)
As others have said, most of the performance is directly related to the quality of the code. There are plenty of apps written for small devices like cell phones that are written in Java. They perform quite well in most cases, especially considering the limitations that are placed on them.
As for an IDE to use check out this topic.
I personally prefer Eclipse because it's nice on Windows.
As for an IDE to use check out this topic.
I personally prefer Eclipse because it's nice on Windows.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement