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:
- Real World Kotlin Development Workshop (in London on 1st - 2nd July 2019)
- Fast Track to Android Architecture (in London on 21st - 23rd October 2019)
- droidcon London 2019 (in London on 24th - 25th October 2019)
- Flutter London June Meetup (in London on 17th June 2019)
- Keynote by Rebecca Franks on Tips for Building Custom Views on Android with Canvas APIs📏🎨 (in London on 19th June 2019)
- Android Home-screen Widgets with Flutter (SkillsCast recorded in April 2019)
- Full Stack Testing of Flutter Apps (SkillsCast recorded in April 2019)