Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (568)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Game Development / Performance Tuning / Performance in 1.1 on: 2003-01-11 11:10:53
Greetings fellow Java programmers! Although I have been writting Java games for more than a couple of years (and being a games programmer since the glorious days of Commodore 64), I never knew about this site until a month ago! I have gathered a number of performance questions and I'm really glad that this forum exists, so I can hopefully exchange opinions with some of you.

OK I have a number of questions that lie in the field of 'Black Art', so if you are an experienced Java programmer your input will be highly appriciated. Before I start, I should let you know that I am exclusively creating Java applets using 1.1 and my primary interest is the behaviour of the MS VM. So please, all you gurus out there limit your answers to these parameters.

Here we go:
1. Would the Java compiler one uses, affect the quality or the performance of the compiled project? To be more specific, if you're targeting for Java 1.1 and you use the latest Java compiler, is this good, bad or doesn't matter? If you are primarily targeting for MS VM would it be better to use (sigh!) Visual J++?

2. Obfuscation: Apart from any moral point of view, would it ever affect the performance? Do you know any obfuscators that work better than others?

3. The -O parameter. I never see anyone use this parameter, so I have to ask: if a program is already optimized, would the use of the -O, mess things up?

4. There was a time when the site gamebrew.com had posted a number of brilliant Java routines. Now they have completely removed the developer's section. Has any of you kept these articles?

5. Finally an Image question that is not directly related to performance, but deals with something that could potentially cause trouble in execution. Negative Coordinates: What happens when you use drawImage() on negative coordinates? Could this ever cause memory corruption?

That's all! I'd like to thank you all for reading this, and please feel free to add your comments.
Pages: [1]
 

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

The first screenshot will be displayed as a thumbnail.

Pippogeek (39 views)
2014-09-24 16:13:29

Pippogeek (30 views)
2014-09-24 16:12:22

Pippogeek (20 views)
2014-09-24 16:12:06

Grunnt (45 views)
2014-09-23 14:38:19

radar3301 (28 views)
2014-09-21 23:33:17

BurntPizza (64 views)
2014-09-21 02:42:18

BurntPizza (34 views)
2014-09-21 01:30:30

moogie (42 views)
2014-09-21 00:26:15

UprightPath (50 views)
2014-09-20 20:14:06

BurntPizza (54 views)
2014-09-19 03:14:18
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!