maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Off Topic (https://talk.maemo.org/forumdisplay.php?f=19)
-   -   Droid and Android gaming irony (https://talk.maemo.org/showthread.php?t=34855)

sharper 2009-11-21 17:25

Re: Droid and Android gaming irony
 
Quote:

Originally Posted by fms (Post 385261)
So, you really think that a bytecode interpreter is not Java? :)

You certainly could make a Java compliant JVM which is just a simple bytecode interpreter however the bytecode produced for Android is not Java compliant and it lacks a JIT which is a feature of pretty much every JVM out there,

fms 2009-11-21 17:31

Re: Droid and Android gaming irony
 
Quote:

Originally Posted by sharper (Post 385347)
You certainly could make a Java compliant JVM which is just a simple bytecode interpreter

I really could? But, I guess, nobody has ever done it so far?

Quote:

however the bytecode produced for Android is not Java compliant and it lacks a JIT which is a feature of pretty much every JVM out there,
So, you mean Android apps are not programmed in Java?

Rushmore 2009-11-21 17:36

Re: Droid and Android gaming irony
 
Bratag made a great camera app for the G1 that made the camera usable. Droid users could sure use you because the camera app SUCKS. I wonder if it really is a software issue or really hardware (crappy camera components).

He can tell us the overhead horrors of Android. Bratag, please take a deeeep breath before explaining and stay away from the whiskey (Android probably drove him to drink) ;)

Laughing Man 2009-11-21 17:42

Re: Droid and Android gaming irony
 
So Rushmore.. speaking of drinking..

How's that WIld Turkey? I have a fellow graduate student who's from Kentucky (and another professor) who both drink Wild Turkey lol.

sharper 2009-11-21 17:42

Re: Droid and Android gaming irony
 
Quote:

Originally Posted by fms (Post 385354)
I really could? But, I guess, nobody has ever done it so far?

Come on stop playing games. You know exactly what I'm talking about. Yes the first Java JVMs were bytecode interpreters and there are possibly still some out there for some platforms however modern JVMs have JIT.

Since performance is what people are complaining about with regard to "Java/Android" the lack of JIT is a defining characteristic and why I highlighted that it's just a bytecode interpreter. If you make performance assumptions for Java based on experience with Android you'll be completely wrong.

Quote:

So, you mean Android apps are not programmed in Java?
Android applications are written in the Java language syntax yes but they don't use the Java platform or run as Java on the phone.

Google also makes a toolkit that lets you write javascript applications as Java. That's not "Java" either, that's a Java framework that lets you write javascript/ecmascript.

javispedro 2009-11-21 17:52

Re: Droid and Android gaming irony
 
Quote:

Originally Posted by Rushmore (Post 385345)
Do you try the one with Linux or the stock app?

It was Linux, but I don't know exactly which snes emu family.

fms 2009-11-21 17:55

Re: Droid and Android gaming irony
 
Quote:

Originally Posted by sharper (Post 385364)
You know exactly what I'm talking about. Yes the first Java JVMs were bytecode interpreters and there are possibly still some out there for some platforms however modern JVMs have JIT.

Of course I do. I am trying to figure out whether you know what you are taking about though.

Quote:

Android applications are written in the Java language syntax yes but they don't use the Java platform or run as Java on the phone.
If Android applications are written in Java, then Android uses Java. How that Java works is a secondary issue.

Rushmore 2009-11-21 18:20

Re: Droid and Android gaming irony
 
Quote:

Originally Posted by Laughing Man (Post 385363)
So Rushmore.. speaking of drinking..

How's that WIld Turkey? I have a fellow graduate student who's from Kentucky (and another professor) who both drink Wild Turkey lol.

I was actually a Jack Daniels drinker, but stopped that stuff after my Marine years ;)

"Just" beer now :)

I tried some GBA games that run poorly on other emulators including the G1:

Doom 2 = Little better but still not playable at all
Top Gear Rally = Playable, but perhaps 80% speed.
Duke Nukem = Not much better
Drome Racers = Very playable now


Seriously, the N900 should perform even better than Droid. Quake 3 already proves this. I can not see Quake 3 playing that smooth on Droid.

sharper 2009-11-21 18:24

Re: Droid and Android gaming irony
 
Quote:

Originally Posted by fms (Post 385381)
If Android applications are written in Java, then Android uses Java. How that Java works is a secondary issue.

Java is a combination of language syntax, platform libraries and runtime.

Android uses the language syntax but does not use the platform libraries or the runtime. Consequently Android is not "Java". It's particularly inappropriate to draw runtime performance comparisons based on Android when it doesn't use the Java runtime.

So "how that Java works" is not a secondary issue. I also gave you an example of another toolkit which lets you write something using the Java language syntax but produces output which is obviously not "Java".

fms 2009-11-21 18:48

Re: Droid and Android gaming irony
 
Quote:

Originally Posted by sharper (Post 385408)
Java is a combination of language syntax, platform libraries and runtime.

Well, C/C++ running on ARM is called C/C++. C/C++ running on x86 is still called C/C++. C/C++ running on 6502 is still C/C++. C/C++ without STDIO library is still called C/C++. C/C++ without STRING library is still C/C++. And so forth.

Why exactly is Java any different, aside from the bogus argument that "Sun defines it this way"?


All times are GMT. The time now is 08:53.

vBulletin® Version 3.8.8