Author Topic: JVM vs something else  (Read 17690 times)

requerent

  • Rogueliker
  • ***
  • Posts: 355
  • Karma: +0/-0
    • View Profile
Re: JVM vs something else
« Reply #15 on: March 03, 2012, 11:06:19 PM »
I have never seen a single Java program that was running really smooth, no matter whether it was 3D or 2D. And it's not only the amount of memory used (C++ programs use a lot of memory as well), Java is just slow. However, if you don't have much C++ experience and you care about portability, Java is still a good choice.

There are enough excellent commercial Java games to serve as a counter-example. There's also a lot of misinformation.

http://scribblethink.org/Computer/javaCbenchmark.html
- is kind of interesting.

Pueo

  • Rogueliker
  • ***
  • Posts: 263
  • Karma: +0/-0
    • View Profile
    • Email
Re: JVM vs something else
« Reply #16 on: March 04, 2012, 07:14:01 PM »
There are enough excellent commercial Java games to serve as a counter-example. There's also a lot of misinformation.

Do you have any examples of commercial Java games? I've always been interested in the language.
{O.o}
 |)__)
   ” ”   o RLY?

requerent

  • Rogueliker
  • ***
  • Posts: 355
  • Karma: +0/-0
    • View Profile
Re: JVM vs something else
« Reply #17 on: March 04, 2012, 11:23:21 PM »
There are enough excellent commercial Java games to serve as a counter-example. There's also a lot of misinformation.

Do you have any examples of commercial Java games? I've always been interested in the language.

Spiral Knights, Minecraft, Runescape- several others. Every Flash game (the VM used by Flash is just a smaller and less effective JVM for RIA).

Some lists- Google will reveal more.
http://www.coderanch.com/t/200961/Game-Development/java/List-Game-developed-Java
http://lwjgl.org/projects.phphttp://www.java-gaming.org/index.php/topic,3123.0

The JVM is interesting because it provides runtime optimizations. It caches stuff that is performed repetitively, allowing it to increase the speed at which it solves similar problems.

Pueo

  • Rogueliker
  • ***
  • Posts: 263
  • Karma: +0/-0
    • View Profile
    • Email
Re: JVM vs something else
« Reply #18 on: March 04, 2012, 11:42:15 PM »
I knew of Runescape and Minecraft, but even though I had played Spiral Knights, I had no idea it ran on the JVM.  It's surprisingly fast.  Thanks for the lists  :)
{O.o}
 |)__)
   ” ”   o RLY?

requerent

  • Rogueliker
  • ***
  • Posts: 355
  • Karma: +0/-0
    • View Profile
Re: JVM vs something else
« Reply #19 on: March 05, 2012, 12:39:06 AM »
I knew of Runescape and Minecraft, but even though I had played Spiral Knights, I had no idea it ran on the JVM.  It's surprisingly fast.  Thanks for the lists  :)

Graphics for most of these games use JNI bindings of OpenGL. In other words, if you care about graphics, Java shouldn't be a hindrance in any way.