![]() |
Re: Droid and Android gaming irony
Quote:
If I took C++ sourcecode, compiled it to Java bytecode and automatically rewrote the interface calls to be java platform calls then nobody would say that was C++. In particular nobody would be so bloody minded as to run a performance test on that setup and say "Wow the performance of C++ sure does suck doesn't it?". The simple fact is Android is not Java. |
Re: Droid and Android gaming irony
Quote:
Quote:
I didn't know the JVM lacked JIT, I would've thought it would really speed up Android. Not sure if I hate Dalvik or J2ME more! J2ME is like using Java 1.4, no Generics, no Collections, no foreach loops, etc. Whilst I am forced to use crummy Eclipse for Dalvik :( So I am glad to be leaving the platform! |
Re: Droid and Android gaming irony
Quote:
The Android VM won't run Java code and the Java VM won't run Android code. |
Re: Droid and Android gaming irony
Quote:
Quote:
Quote:
|
Re: Droid and Android gaming irony
Quote:
G1 has a better (IMO) key orientation for emulators and more space on the top row. Still we are talking reservoir dogs here, since the G1 keyboard is not that good either-just a tad better for games. Everything is relative. |
Re: Droid and Android gaming irony
Quote:
You've also ignored the other example I gave. If a toolkit takes Java source code and produces ecmascript/javascript from it does that mean ecmascript/javascript is now "Java" too? Of course not. Quote:
Quote:
|
Re: Droid and Android gaming irony
Quote:
Quote:
Quote:
Quote:
Quote:
|
Re: Droid and Android gaming irony
Quote:
Honestly Android is on a slippery slope which will be paved with every manufacturer doing their own goddamn thing. I wont even get into why my app doesnt work on the HTC Hero, they apparently decided that noone would want to generate a view in code and add it to their main layout so they just didint bother to implement code in the OS to handle that situation - sure it gave them a small (and perhaps faster) layout handler - but of course completely fubared my app and dozens of others that like to add objects to the view programatically. |
Re: Droid and Android gaming irony
Quote:
While I agree that the syntax etc of a language play a role in defining it - they do not maketh the language in the whole. Finally - To legally call something Java compliant you do have to get sign off from Sun. Anything else is technically not Java compliant and thus not "really" Java. |
Re: Droid and Android gaming irony
Quote:
Considering we're talking about runtime performance and the runtime aspect is the area that Android most differs from Java it's wholly inappropriate to make comparisons on that basis. Now I have no particular desire to crap up this thread further. I was making a small clarification for a poster who was referencing Java performance metrics in relation to Android. If you want to continue calling Android Java go ahead but you'll be continually misunderstood in what you're saying. Edit: Thank you Bratag I think you outlined it all much more succinctly than I was able to. Sometimes I'm confused why discussions like this are even necessary, I generally assume people are just not aware of certain information and they just need to be pointed to it, when they actually start to disagree with established fact it all becomes a bit surreal. |
Re: Droid and Android gaming irony
Quote:
Java on the the other hand... well... So please, don't compare those two (three) languages. Java is just a product that a company defines while C++ is a standard. There is no limitation on what you can do with C++ and even the oldest C++ programs still compile and run. Java OTOH has a great number of limitations and questioned backward compatibility. Of course C beats' em all on those aspects :D |
Re: Droid and Android gaming irony
Quote:
|
Re: Droid and Android gaming irony
Well, when all is said and done:
Since Droid does a great job with emulators but can't play Quake 1 very well due to the overhead, my guess is the N900 will kick Droid's a55 for emulators. Quake 1 is weak to a stuttery mess on Droid. Quake 3 seems to play smooth with sound on the n900. Strange about Droid, since my Dell Axim played Quake 1 pretty good with sound. |
Re: Droid and Android gaming irony
Quote:
The first site doesn't compare the languages at all. It just compares different algorithms: The java's algorithm and the author's algorithm for each example. For god's sake, who allocates a matrix that will hold integers in C++ like this (matrix.cpp): Code:
int **mkmatrix(int rows, int cols) { Code:
return malloc(rows*cols*sizeof(int)) As for the second site, writing something like this: Quote:
Quote:
OK, Java's speed is acceptable, but the sites should have more serious claims... p.s. I could keep commenting on almost all lines of those sites for hours, but you get the point :D |
Re: Droid and Android gaming irony
Quote:
It's not just a matter of performance but also the availability of hardware services. I remember reading an article a couple of years ago that said researchers loved working with Nokia phones versus other manufacturer's because they provided the best access to things like the DSP. |
Re: Droid and Android gaming irony
Quote:
|
Re: Droid and Android gaming irony
Dalvik isn't Java but it uses the same languages and several java libraries are compatible, for instance popular Apache commons-httpclient. And since Android doesn't claim to be java compatible any library could refuse to work.
Given the resemblances I'd say Android is as much Java as Google Application Engine is. Not everything java will run in it but it's similar enough so developers can use their java development infrastructure, knowledge and work around the discrepancies/limitations. And android now has a jit. |
Re: Droid and Android gaming irony
Quote:
Quote:
Quote:
|
Re: Droid and Android gaming irony
Just show this.
|
All times are GMT. The time now is 09:02. |
vBulletin® Version 3.8.8