Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (293)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  Why can't I run Java anywhere yet?  (Read 5130 times)
0 Members and 1 Guest are viewing this topic.
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 438
Projects: 4


Hand over your head.


« Reply #30 - Posted 2010-02-16 23: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
Projects: Revenge of the Titans, Titan Attacks, Droid Assault, and Ultratron
Offline delt0r

JGO Coder


Medals: 18


Computers can do that?


« Reply #31 - Posted 2010-02-16 23: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 Overlord


Medals: 438
Projects: 4


Hand over your head.


« Reply #32 - Posted 2010-02-16 23: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
Projects: Revenge of the Titans, Titan Attacks, Droid Assault, and Ultratron
Games published by our own members! Check 'em out!
Try the Free Demo of Titan Attacks
Offline kevglass
« League of Dukes »

JGO Kernel


Medals: 54
Projects: 20


Mentally unstable, best avoided.


« Reply #33 - Posted 2010-02-17 08: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


Medals: 196
Projects: 3


Eh? Who? What? ... Me?


« Reply #34 - Posted 2010-02-17 10:32:22 »

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

Cas Smiley

Offline Noisefever

Junior Member


Projects: 1



« Reply #35 - Posted 2010-02-17 10:50:11 »

why not use Unity or something like that?

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

JGO Kernel


Medals: 196
Projects: 3


Eh? Who? What? ... Me?


« Reply #36 - Posted 2010-02-17 10: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

Junior Member


Projects: 1



« Reply #37 - Posted 2010-02-17 11: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


Medals: 196
Projects: 3


Eh? Who? What? ... Me?


« Reply #38 - Posted 2010-02-17 12: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

Junior Member





« Reply #39 - Posted 2010-02-17 17: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! Check 'em out!
Try the Free Demo of Droid Assault
Offline Noisefever

Junior Member


Projects: 1



« Reply #40 - Posted 2010-02-17 18: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

Junior Member





« Reply #41 - Posted 2010-02-17 19: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]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Browse for soundtracks for your game!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (85 views)
2013-05-17 21:29:12

alaslipknot (93 views)
2013-05-16 21:24:48

gouessej (125 views)
2013-05-16 00:53:38

gouessej (118 views)
2013-05-16 00:17:58

theagentd (128 views)
2013-05-15 15:01:13

theagentd (115 views)
2013-05-15 15:00:54

StreetDoggy (159 views)
2013-05-14 15:56:26

kutucuk (181 views)
2013-05-12 17:10:36

kutucuk (181 views)
2013-05-12 15:36:09

UnluckyDevil (188 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!
Page created in 0.085 seconds with 20 queries.