Skip to main content

ART(Android Runtime) vs DVM(Dalvik Runtime)

     
In the recent Google I/O, Google introduced ART (Android Runtime) to the world. This replaced the current Dalvik Machine runtime processor that is used by every android phones in the market.
So if you guys cannot recognize the difference between Dalvik and ART, this article will tell you simple difference between the two…


But firstly, What is a Runtime Environment in Android?
The Android Runtime consists of core libraries and Dalvik virtual Machine to run applications in the Operating System (OS).Java programming language is used for creating these main libraries.
When you install a new application the runtime environment checks and compiles all the files in it to make sure it is compatible for the phone to execute. It is not similar to the Java Virtual Machine (JVM) because it executes Dalvik Executable(.dx) files and relies on Linux Kernel for memory management and threading properties.
So in simple words the runtime environment simply executes your commands and instructions through various optimization techniques, thus saving time and memory.



DVM vs ART
When an app is installed in android Dalvik VM compiles using the concept of JIT(Just-In Time) where it catches all the uncompiled bundled data and is stored into RAM(Random Access Memory).The temporary data is stored in RAM for further execution of the application while its being used by the user. Other applications are also enabled in the background using the same memory which in turn utilizes extra battery of your phone.
A task manager usually frees up memory this memory but it’s a boring process of starting these apps again. So to overcome this drawback Google introduced ART  which promises better battery life and performance.

What is ART ?
ART is an entirely new concept in Android which uses a concept of Ahead-of-Time(AOT) compiling the apps automatically and swiftly while they are downloaded. This is a fast paced process but uses more memory and longer to install apps unlike Dalvik VM. Since time taken to run apps is slow there is less load on processor thus increasing your battery life extensively.
This was introduced in Google Play editions Phones like Nexus 5 and Motorola which have 4.4.2 Kitkat.It is still in beta stage because it doesn’t supports the old applications and android versions



.I tested it on my Motorola Moto X(4.4.2) which worked fine but it wasn’t supporting the older package files so had to revert back to Dalvik.
Google is working hard in tweaking this amazing project to make it available for other phones and in Android 5.0 in coming months.












Comments

Popular posts from this blog

Srinagar ...“Heaven on Earth”

Srinagar Why is it considered as “ HEAVEN ON EARTH” by travelling enthusiasts around the world !! Well after my recent visit to this magnificent, breath-taking and gorgeous city situated in the valley of the Himalayas I must say they were very accurate about what they said…And here’s my take on why this place is called as “ Heaven on Earth ”. Location - Srinagar is the capital city of India’s northern most state called as Jammu & Kashmir (J&K).Its situated in the Himalayan valley near the river Jhelum. The local people are called Kashmiris who’ve been living there since birth. Climate - The average temperature during summers is around 22 degrees and lowest about 8 degrees Celsius. In winters the temperatures may go around -4 to -19 Degrees Celsius with heavy snow fall and rains. The favorable climate for the tourists to visit Srinagar is summer around the months of April-May. Travelling - There are three main ways to travel to Srinagar... ...

THE LATEST MOTO X

What is so cool about Moto X, the recent release from the Motorola Family? The Motorola flagship Smartphone was launched in August 2013 under Google. After the success of   Moto G   Motorola finally launched its successor Moto X  in India.With a price tag 0f INR 23,999 and the wooden back for INR 24,999. My Take on Moto X…. So finally after using it for more than a month I can write my review about it. As I bought it from Flipkart it costed me INR 23,999. Blue being my favourite colour caught my attention, so chose it instantly! Flipkart was very fast in delivering the order in time as promised. Specifications :- (I) Hardware - ·         It consists of a Qualcomm Snapdragon S4 Pro dual core processing chip, clocked at 2.7Ghz.There is Adreno 320 GPU graphics chip which is quad-core for handling heavy graphics games with ease. ·   Moto X also consists of a natural language processor and a cont...

Android L...!

       Android L(termed as Lollipop)......        The next big OS update from Google.....and all there is you need to know.......!!!!   Yesterday on Google I/O the developers showcased the next android Os update termed       as    ANDROID L. From the images flooding on the internet it shows a redesigned UI,notification centre,launcher and other great stuff that yet to be showcased. Dubbed as Lollipop(name not confirmed yet) brings new console and ART runtime replacing DALVIK runtime used in Kitkat. It helps in faster processing speed but using more memory  is compatible with ARM, x86 and MIPS architectures.It also supports 64-bit chipsets. Material design is also a concent-centric, with UI elements able to absorb color from artwork and photos to add visual flair. And the new geometric focus has also reduced the back...