[List of FAQs] | [Android FAQ] | [Samuh Varta]
Check out my kickstarter CLICK HERE
My book, my movies, my videos, my podcasts, my events ... the big collection of paul wheaton stuff!
Dalvik.equals(Java) == false
Why “Dalvik”? – The Dalvik virtual machine was named by Bornstein after the fishing village of Dalvík in Eyjafjörður (Iceland), where some of his ancestors lived. As you may have heard of, Dalvik is the name of Android's virtual machine. It is an interpreter-only virtual machine that executes files in the Dalvik Executable (*.dex) format, a format that is optimized for efficient storage and memory-mappable execution. The virtual machine is register-based, and it can run classes compiled by a Java language compiler that have been transformed into its native format using the included "dx" tool. The VM runs on top of a Linux 2.6 kernel, which it relies on for underlying functionality (such as threading and low level memory management). The DalvikVM was also optimized to be running in multiple instances with a very low memory-footprint. Several VMs protect ones application from being dragged down by another crashed Application.
Differences to a normal JavaVM
JavaVM’s one can find on almost any desktop computer nowadays are Stack-based Virtual Machines (VM).The DalvikVM on the other hand is register based, because on mobile-processors are optimized for register-based execution. Also of register-based VMs allow faster execution times at the expense of programs which are larger after compilation.
[List of FAQs] | [Android FAQ] | [Samuh Varta]
paul wheaton wrote:I think an android forum is not out of the question ... my primary concern is that we would create the forum and then nobody uses it.
[List of FAQs] | [Android FAQ] | [Samuh Varta]
paul wheaton wrote:I think an android forum is not out of the question ... my primary concern is that we would create the forum and then nobody uses it.
Perhaps this would be easier if we knew more: When one develops for android .... is it like J2ME with a rich java library?
[List of FAQs] | [Android FAQ] | [Samuh Varta]
Check out my kickstarter CLICK HERE
My book, my movies, my videos, my podcasts, my events ... the big collection of paul wheaton stuff!
[List of FAQs] | [Android FAQ] | [Samuh Varta]
Bear Bibeault wrote:Such changes will be posted in the Ranch Office.
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
[List of FAQs] | [Android FAQ] | [Samuh Varta]
I agree. Here's the link: http://javaranch.com/programming-pearls.jsp |