Please log in to watch this conference skillscast.
Even with the introduction of the new ART runtime replacing Dalvik VM our android apps are still build in Java.
We know one of the main characteristics of Java is portability, and that usually means it is not as efficient as it should be. That might be the reason Java has never been associated with high performance, but nowadays there are a lot of Java powered devices in the world and lots of people are building applications for them.
Compilers that produce native machine code do a great optimisation job because they know where the code is going to be executed. But because of the portability feature, the Java Compiler could not assume anything about where our program is going to run and leaves all the optimisations to be done by the JVM while loading or, even, running our code (or converting it to native code in the case of ART)
Having that in mind, we will explore what can be done to help the compiler produce optimal code which, in fact, will make the life easier of the Dalvik VM or ART.
In this session you will not only learn how to make your Android code faster but also what to avoid when looking for critical performance and a bigger understanding of how the Java compiler works, and how these small changes affect to Dalvik VM and the new ART runtime.
YOU MAY ALSO LIKE:
- Masterclass: Reducing Technical Debt with Michael C. Feathers (in London on 21st - 22nd August 2017)
- Uncle Bob's Advanced TDD (in London on 30th - 31st October 2017)
- µCon 2017: The Microservices Conference (in London on 6th - 7th November 2017)
- Fast Track to RESTful Microservices (in London on 8th - 10th November 2017)