Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (497)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
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 7356 times)
0 Members and 1 Guest are viewing this topic.
Online Riven
« League of Dukes »

JGO Overlord


Medals: 799
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #30 - Posted 2010-02-16 22: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

JGO Knight


Medals: 27
Exp: 18 years


Computers can do that?


« Reply #31 - Posted 2010-02-16 22: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
Online Riven
« League of Dukes »

JGO Overlord


Medals: 799
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #32 - Posted 2010-02-16 22: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! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline kevglass

JGO Kernel


Medals: 164
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


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

JGO Kernel


Medals: 378
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


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

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

Cas Smiley

Offline Noisefever

Senior Newbie





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

why not use Unity or something like that?

http://unity3d.com/
Offline princec

JGO Kernel


Medals: 378
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


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

Senior Newbie





« Reply #37 - Posted 2010-02-17 10:52:54 »

someday you have to break up if you want to make games for consoles or iphone... Smiley
Offline princec

JGO Kernel


Medals: 378
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #38 - Posted 2010-02-17 11: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 16: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!
Legends of Yore - The Casual Retro Roguelike
Offline Noisefever

Senior Newbie





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

 

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

The first screenshot will be displayed as a thumbnail.

BurntPizza (21 views)
2014-09-19 03:14:18

Dwinin (35 views)
2014-09-12 09:08:26

Norakomi (62 views)
2014-09-10 13:57:51

TehJavaDev (87 views)
2014-09-10 06:39:09

Tekkerue (42 views)
2014-09-09 02:24:56

mitcheeb (65 views)
2014-09-08 06:06:29

BurntPizza (47 views)
2014-09-07 01:13:42

Longarmx (35 views)
2014-09-07 01:12:14

Longarmx (40 views)
2014-09-07 01:11:22

Longarmx (36 views)
2014-09-07 01:10:19
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
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!