View Single Post
Posts: 1,418 | Thanked: 1,541 times | Joined on Feb 2008
#44
Originally Posted by sharper View Post
Java is what Sun defines it to be.
Ok. So, you have no valid technical argument here, just a legal one, provided to you by Sun?

You can certainly say Android is a lot like Java but one area where it's not at all like Java is runtime performance, since that's the topic under discussion it's important to highlight the distinction.
You may find it news that a lot of JVMs use interpretation rather than JIT. For example, Sun's own KVM (used in MIDP1/MIDP2 reference implementations and in many cheap cellphones) is an interpreter. I have no idea what makes you think that Java is limited to JITs. This is not even in Sun's definition of Java, AFAIK.

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++.
It would still be C++ though. In fact, Microsoft does just that with "managed C++" inside Visual Studio .NET. And yes, the performance would suck, but it does not make it any less C++.