Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (781)
Games in Android Showcase (233)
games submitted by our members
Games in WIP (857)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Feed the Mushrooms!  (Read 1264 times)
0 Members and 1 Guest are viewing this topic.
Offline princec

« JGO Spiffy Duke »

Medals: 1064
Projects: 3
Exp: 20 years

Eh? Who? What? ... Me?

« Posted 2004-02-16 09:23:41 »

Just so y'all know what's going on under the hood, with permission from Chris Campbell:

Hi Cas,

We have considered making the OGL-based Java 2D pipeline sit atop some intermediate library, like LWJGL or JOGL, but those libraries offer way more than we actually need.  We
have strict requirements in the JDK for things like performance, memory footprint, and start-up time, so we have to maintain tight control over what we're doing.  For example,
we dynamically load only the GL function pointers we will actually use to minimize startup and footprint costs, whereas an intermediate library would likely load all GL
functions.  Also, we require tight integration with the native windowing system layer (visuals, drawables, etc), and intermediate libraries tend to abstract those issues out.

So I wouldn't really consider it "doing everything from scratch".  Aside from the issues I mentioned, we're open to the idea of layering on top of Java/OGL bindings, so that in
theory we could move the remaining native OGL pipeline code up into Java land.  We'll explore that down the road.

In the meantime, working with C isn't terrible Smiley  The reality is that sometimes we do have to resort to native code.  But we try to minimize it whenever possible.  For example,
I rearchitected a lot of the OGL pipeline for 1.5-beta2, so that more native code was moved up to the Java layer, where it is more managable and maintainable.  Also, the new
XAWT (implementation of AWT for Linux/Solaris in 1.5) is almost entirely implemented in Java code, so it's certainly within the realm of possibility.

Thanks for the question,

Cas Smiley

Pages: [1]
  ignore  |  Print  

hadezbladez (1177 views)
2018-11-16 13:46:03

hadezbladez (531 views)
2018-11-16 13:41:33

hadezbladez (1190 views)
2018-11-16 13:35:35

hadezbladez (274 views)
2018-11-16 13:32:03

EgonOlsen (2571 views)
2018-06-10 19:43:48

EgonOlsen (2790 views)
2018-06-10 19:43:44

EgonOlsen (1566 views)
2018-06-10 19:43:20

DesertCoockie (2271 views)
2018-05-13 18:23:11

nelsongames (2123 views)
2018-04-24 18:15:36

nelsongames (2817 views)
2018-04-24 18:14:32
Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20 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‑
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!