|
Authored by: ThrPilgrim on Thursday, May 24 2012 @ 10:34 AM EDT |
It matters because it's another absolute statement from Oracle that can be
refuted. The more of these statements that can be knocked down the less reliable
the rest of Oracle's statements appear.
---
Beware of him who would deny you access to information for in his heart he
considers himself your master.[ Reply to This | Parent | # ]
|
|
Authored by: Anonymous on Thursday, May 24 2012 @ 10:38 AM EDT |
The purpose is to prove that compatibility exists, and that a fair use would
then apply. Not that a fair use would not exist otherwise, just that it would
lend credence to the fact that programs can run on either due to the fact the 37
packages' names and organization were duplicated.
I find it troubling, as an indie game dev, I use Box2D on Java and on Android --
Box2D runs on both, but is not a program. It's trivial to change the entry
points of my programs from Applet (Java) to Activity (Android) just as it's easy
to change my entry point from main (Java Desktop) to Applet (Java Browser
plugin)...
In all three examples, nearly all the code is the same EXCEPT the entry point to
the program. Especially when OpenGL ES is used -- That's another one. A
library that contains a huge amount of interface code that doesn't have to be
rewritten to port it from Java to Android thanks to the 37 packages.
Networking is another huge factor, the net code for some of my games is
identical on Java or Android. It's just the 0.04% of platform specific code
that needs changing -- Does my program run on Java and Android? Yep, 99.96% of
it runs on either with no change thanks to the core API being compatible (read:
Identical except for minor change to comments -- Including the throws clauses
they're part of the declaration).
The interesting thing: Some game engine frameworks commandeer all the entry
points and provide the game developer with a single API that targets multiple
platforms. Thus you can develop a game for desktop and also target Android with
no change to YOUR program itself...
Unfortunately, I can't afford such frameworks or the time required to provide an
example. >_<[ Reply to This | Parent | # ]
|
|
|
|
|