Java-Gaming.org
Java4K - to go         Javadoc:
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, peek at the official java tutorials or join us at irc #jgo.
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  Print  
  Why can't I run Java anywhere yet?  (Read 4040 times)
0 Members and 1 Guest are viewing this topic.
Offline Riven
« League of Dukes »

JGO Kernel
*****

Posts: 5509
Medals: 204


Hand over your head.


« Reply #30 on: 2010-02-16 17:30:56 »

Well sure, but....
bytecode->C approach may have been tried but is barely faster than an interpreter

Hi, appreciate more people! Σ ♥ = ¾

Learn how to award medals... and work your way up the social rankings
Offline delt0r

Sr. Member
**

Posts: 377
Medals: 10


Computers can do that?


« Reply #31 on: 2010-02-16 17:34:31 »

But a bare minimum JVM with your own lib to hardware interfaces, will have all the portability problems of modern java. lwjgl is great, but there are still driver/platform quirks. If every bit of OS interface code had to be your own...shessh... I think you underestimate even what awt does... never mind the IO and net libs.

By the way. My production java code  is over 2x faster than the C code it replaces... So all this java->bytecode->C, if you want C write C.

I have no special talents. I am only passionately curious.--Albert Einstein
Offline Riven
« League of Dukes »

JGO Kernel
*****

Posts: 5509
Medals: 204


Hand over your head.


« Reply #32 on: 2010-02-16 17:38:49 »

But a bare minimum JVM with your own lib to hardware interfaces, will have all the portability problems of modern java. lwjgl is great, but there are still driver/platform quirks. If every bit of OS interface code had to be your own...shessh... I think you underestimate even what awt does... never mind the IO and net libs.

By the way. My production java code  is over 2x faster than the C code it replaces... So all this java->bytecode->C, if you want C write C.

Having a Java IDE while developing/debugging is a major productivity boost.

Hi, appreciate more people! Σ ♥ = ¾

Learn how to award medals... and work your way up the social rankings
Games published by our own members! Go get 'em!
Offline kevglass
« League of Dukes »

JGO Kernel
*****

Posts: 5199
Medals: 47


Mentally unstable, best avoided.


« Reply #33 on: 2010-02-17 02:18:41 »

XMLVM is essentially doing this bytecode->C (ok objectiveC) already. Performance on that seems to be getting pretty damn good.

Kev

Offline princec
« League of Dukes »

JGO Kernel
*****

Posts: 7802
Medals: 77


Eh? Who? What? ... Me?


« Reply #34 on: 2010-02-17 04:32:22 »

Wake me when it gets as good as the client VM is now Smiley

Cas Smiley

Offline Noisefever

JGO n00b
*

Posts: 22



« Reply #35 on: 2010-02-17 04:50:11 »

why not use Unity or something like that?

http://unity3d.com/
Offline princec
« League of Dukes »

JGO Kernel
*****

Posts: 7802
Medals: 77


Eh? Who? What? ... Me?


« Reply #36 on: 2010-02-17 04:53:10 »

Because I have a vast library of Java "legacy" code that I want to use. And Eclipse. And I'm really good at Java.

Cas Smiley

Offline Noisefever

JGO n00b
*

Posts: 22



« Reply #37 on: 2010-02-17 05:52:54 »

someday you have to break up if you want to make games for consoles or iphone... Smiley
Offline princec
« League of Dukes »

JGO Kernel
*****

Posts: 7802
Medals: 77


Eh? Who? What? ... Me?


« Reply #38 on: 2010-02-17 06:02:03 »

I only use Java for games because I use it every day in the day job, so I'm good at it. If I have to put in any more effort than I already do I just won't bother  Shocked

Cas Smiley

Offline elias4444

Full Member
**

Posts: 231



« Reply #39 on: 2010-02-17 11:20:15 »

Quote
why not use Unity or something like that?
Oh how I've tried!! I thought Unity would be the perfect solution for me (despite the $1500 price tag or the limitations of the Indie version). I tried to duplicate my engine test and benchmarker in it to get a performance comparison and ended up pulling my hair out (seriously, it must have looked like Cas' avatar). There's a pretty steep learning curve involved, and I've discovered that it has more limitations than my own engine work.

I've put in a lot of time learning how to make games with Java and LWJGL. I've also put in substantial time trying to figure out Unity, Ogre3D, Horde3D, a few other game engines, and some C++ alternatives as well. Objective-C (tried to learn it for making iPhone apps) was a nightmare for me; my eyes couldn't focus on the code formatting (seriously!). C++ ended up being more limited than Java due to the need for platform specific libraries (I'm trying to learn SDL, as it's cross-platform, but I'll still be limited to the same audience as Java).

BTW, the problem isn't Java. It's the device manufacturers that refuse to support Java (or other libraries). Hopefully Oracle can bring this around, but as it stands, it's a mess no matter what language you decide to use. If you want to get on XBox, learn C++ and DirectX. If you want iPhone, learn Objective-C and the Apple libraries. If you want Android, learn Java and the Android library. If you want Windows-Linux-Mac, learn C++ with SDL or Java with LWJGL.

Games published by our own members! Go get 'em!
Offline Noisefever

JGO n00b
*

Posts: 22



« Reply #40 on: 2010-02-17 12:46:39 »

interesting! a friend of mine wants to use Unity. i will warn him Smiley

If you want Android, learn Java and the Android library.

btw: is the android lib very different? is it likely that i have much to rewrite to port my games? i hadn't the time to look closer yet
Offline elias4444

Full Member
**

Posts: 231



« Reply #41 on: 2010-02-17 13:07:06 »

Quote
btw: is the android lib very different? is it likely that i have much to rewrite to port my games? i hadn't the time to look closer yet

Well, I don't know your game code, so I couldn't say. The Android SDK is pretty straight forward though (IMHO) and there's quite a few tutorials out there. Keep in mind that it uses openGL ES for 3D, so fixed function pipeline only (for the most part). If your games are written in Java2D then they may just port right over.


Pages: 1 [2]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.101 seconds with 21 queries.