? Java->Dalvik == C->C++ ?
Not
really.
Android uses Java syntax and keywords, but doesn't really
support
new ones. It pretty much uses java as a language. The
differences
are that the VMs are
implemented differently, bytecodes and compiled code are
not
compatible, and a different subset of APIs are provided.
The only
different syntax that's really used is the XML
layout stuff, and app config
files - which are just
"compiled" into regular java source files by the SDK
tools
as and when they are changed. I think similar ideas are in
play in some
of the J2EE config files.
I don't think the comparison is a good
one
In terms of the difference in supported APIs, android is
perhaps
more comparable to J2ME vs J2SE
conceptually (though massively more powerful
and useful),
but that misses the differences in bytecode and VM
architecture. [ Reply to This | Parent | # ]
|