Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (527)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (593)
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 3 [4]
  ignore  |  Print  
  Why Java, not C++?  (Read 14889 times)
0 Members and 1 Guest are viewing this topic.
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #90 - Posted 2005-01-11 15:15:00 »

Quote


Very good point. From Jacob Marner's report Evaluating Java for Game Development:



Last time I checked, using GCJ was constraining yourself to java 1.1.x, since even the java 1.2.x work wasn't complete. I'm assuming by now they've finished that, but IIRC they haven't got 1.4 ready yet?

So...works in theory, but in practice it's not doable? If all you want is to write java 1.1 code, well...a 1.1 JVM isn't too hard to write. But what we actually want/need is the level of arch-specific and clevel runtime optimization in a Sun or IBM JVM, and that's a whole different kettle of fish.

On a side note, I wouldn't listen to a single word J Marner had to say, based on the atrocious quality of his previous work, until/unless he owned up to and corrected his previous mistakes. If I were him, I'd take that report off the net, because it just lets everyone who's curious see just how naive a "researcher" he can be; not a good advert. (of course I'm bearing in mind the state of play when he wrote it - I first read it when it was first released).

malloc will be first against the wall when the revolution comes...
Offline jbanes

JGO Coder


Projects: 1


"Java Games? Incredible! Mr. Incredible, that is!"


« Reply #91 - Posted 2005-01-11 15:23:19 »

Quote
Last time I checked, using GCJ was constraining yourself to java 1.1.x, since even the java 1.2.x work wasn't complete. I'm assuming by now they've finished that, but IIRC they haven't got 1.4 ready yet?


As I understand it, GCJ relies heavily on the ClassPath project. This makes it sort of a weird combination of 1.1 and 1.4 libraries. i.e. You can have ByteBuffers, but no BufferedImage. Thus a developer would need to cover the missing pieces with some sort of application specific API. In this case, LWJGL actually makes a lot of sense.

Quote
So...works in theory, but in practice it's not doable? If all you want is to write java 1.1 code, well...a 1.1 JVM isn't too hard to write. But what we actually want/need is the level of arch-specific and clevel runtime optimization in a Sun or IBM JVM, and that's a whole different kettle of fish.


I think it's quite doable. The only issue is that you have to define the constraints up front. i.e. These libraries will work, these won't, and this is how these will fit.

Quote
On a side note, I wouldn't listen to a single word J Marner had to say, based on the atrocious quality of his previous work, until/unless he owned up to and corrected his previous mistakes.


It was just the first reference I came up with. Don't shoot the messenger. :-)

Java Game Console Project
Last Journal Entry: 12/17/04
Offline DaveLloyd

Junior Devvie




Making things happen fast with Java!


« Reply #92 - Posted 2005-01-11 15:34:32 »

blah^3 wrote:
Quote
So...works in theory, but in practice it's not doable? If all you want is to write java 1.1 code, well...a 1.1 JVM isn't too hard to write. But what we actually want/need is the level of arch-specific and clevel runtime optimization in a Sun or IBM JVM, and that's a whole different kettle of fish.

Except you get gcc performance with (AIUI) 1.2 language - your biggest issue is which APIs you do/don't need.  And gcc is the main workhorse for PS2. Or have I missed something about language level you're after?

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline princec

« JGO Spiffy Duke »


Medals: 425
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #93 - Posted 2005-01-11 15:53:02 »

I've been down the native compiler route already with a product that's at least 100x better than GCC, and it's not why I use Java. I use Java because it's easy and deployment is easy, and putting a native compiler in the way just makes it all hard again. Screws up any chances of remote classloading too.

Cas Smiley

Offline jbanes

JGO Coder


Projects: 1


"Java Games? Incredible! Mr. Incredible, that is!"


« Reply #94 - Posted 2005-01-11 16:03:57 »

Quote
I've been down the native compiler route already with a product that's at least 100x better than GCC, and it's not why I use Java.


Fair enough. But porting Kaffe still makes a lot of sense, don't you think? :-)

Quote
I use Java because it's easy and deployment is easy, and putting a native compiler in the way just makes it all hard again. Screws up any chances of remote classloading too.


I don't think deployment is going to be nice on consoles, no matter what you use. As for remote classloading, that's probably only an issue in network enabled environments. Granted, consoles are going that way so it will be an issue in the future.

Java Game Console Project
Last Journal Entry: 12/17/04
Offline Raghar

Junior Devvie




Ue ni taete 'ru hitomi ni kono mi wa dou utsuru


« Reply #95 - Posted 2005-01-11 17:58:15 »

Quote


I'm doing a FFT on a matrix of complex numbers to do some funky image processing.


I grabed a little source code with FFT in Java and did a little test on it. Client JVM would finish in aprox 4.5 second with 1/10 second inicialization. It was on 1.8 GHz computer. And yes the length of the array, that array was 2^20 long. JVM was 1.5.0 downloaded in aroud 11 2004.
Dunno if this is fast enough.
Offline Per_T

Senior Newbie





« Reply #96 - Posted 2005-01-11 19:55:11 »

Regarding where all the great java games are hiding, at least I had never heard of this game until recently:
http://www.hockeychallenge.se

Don't let the word "manager" fool you - it has some really neat 3D graphics. I think it's almost finished...

It should be easy to navigate even though the text is in Swedish - there's like one button Smiley (big)

PS: I think jadestone got rated as the fastest growing Swedish game developer or something like that.
Offline Gambit

Senior Newbie




Java games rock!


« Reply #97 - Posted 2005-01-12 16:13:10 »

It's quite cool game, but it isn't work under Linux (at least uder my Gentoo with Java 1.5) Sad For peapole who have this OS and want to see this game I've made some screenshots:
Screen #1
Screen #2
Screen #3
Screen #4
Screen #5
Screen #6
Screen #7
Offline Vorax

Senior Devvie


Projects: 1


System shutting down in 5..4..3...


« Reply #98 - Posted 2005-01-12 21:42:25 »

That looks pretty good indeed.  The player models are a bit weak, but other then that it's not to bad looking.

Pages: 1 2 3 [4]
  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.

PocketCrafter7 (12 views)
2014-11-28 16:25:35

PocketCrafter7 (7 views)
2014-11-28 16:25:09

PocketCrafter7 (8 views)
2014-11-28 16:24:29

toopeicgaming1999 (74 views)
2014-11-26 15:22:04

toopeicgaming1999 (64 views)
2014-11-26 15:20:36

toopeicgaming1999 (15 views)
2014-11-26 15:20:08

SHC (29 views)
2014-11-25 12:00:59

SHC (27 views)
2014-11-25 11:53:45

Norakomi (32 views)
2014-11-25 11:26:43

Gibbo3771 (28 views)
2014-11-24 19:59:16
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

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
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!