Google I/O 2014 - The ART runtime

An in-depth look at ART, the Android runtime that replaces Dalvik, including its performance improvements and 64-bit support.

Summary

  • ART is designed to improve app performance and responsiveness by compiling apps ahead of time, compared to Dalvik's just-in-time approach.
  • ART provides significant performance boosts, with support for 64-bit architectures leading to further improvements in app speed and efficiency.
  • Garbage collection in ART has been optimized to reduce pauses, leading to a smoother user experience without dropped frames.
  • 64-bit support in ART allows for new instructions beneficial for media and cryptography, with backward compatibility for 32-bit apps.

Chapter 1

Introduction to ART and Team

0:00 - 34 sec

Anwar Ghuloum introduces ART and the team behind it.

Anwar Ghuloum introduces ART and the team behind it.

  • Anwar Ghuloum introduces the talk on ART, L's runtime that replaces Dalvik.
  • Brian Carlstrom and Ian Rogers, his colleagues, will discuss different aspects of the runtime.
  • The talk aims to provide a better understanding of what ART is and the improvements it brings.

Chapter 2

Motivation Behind ART

0:34 - 1 min, 5 sec

Exploring the reasons for developing ART to replace Dalvik.

Exploring the reasons for developing ART to replace Dalvik.

  • Dalvik was designed for single-core processors with limited performance, flash, and RAM.
  • As hardware evolved with multi-core processors and increased performance, Dalvik's limitations became apparent.
  • ART was created to scale with modern processors and applications, offering ahead-of-time compilation and better garbage collection.

Chapter 3

Performance and Compilation in ART

1:39 - 2 min, 18 sec

Brian Carlstrom details performance improvements and compilation process in ART.

Brian Carlstrom details performance improvements and compilation process in ART.

  • ART aims for fast start-up times without warm-up of a JIT, smooth operation even during garbage collection, and scalability.
  • ART utilizes a flexible compiler infrastructure allowing for various optimization levels and ABI support.
  • Ahead-of-time compilation in ART optimizes entire programs, resulting in faster method calls, reduced overhead, and efficient memory management.

Chapter 4

ART Garbage Collection Enhancements

3:57 - 35 min, 59 sec

Ian Rogers discusses the advancements in garbage collection within ART.

Ian Rogers discusses the advancements in garbage collection within ART.

  • ART focuses on fast allocation, less junk, and a smooth experience through enhanced garbage collection.
  • ART avoids long pauses during garbage collection, aiming to reduce dropped frames and improve the user experience.
  • The stickiness of the garbage collector and memory allocator optimizations in ART lead to significant performance improvements.

Chapter 5

64-bit Support in ART

39:56 - 55 sec

Anwar Ghuloum talks about 64-bit support and performance gains in ART.

Anwar Ghuloum talks about 64-bit support and performance gains in ART.

  • 64-bit support in ART is a major feature of L, providing better performance for compute-intensive workloads.
  • ART's 64-bit support includes new instructions for media and cryptography, benefiting the entire platform.
  • Existing 32-bit apps are compatible with 64-bit devices without needing updates, covering 85% of apps in the Play Store.

More Google for Developers summaries

The Go Programming Language Promo

The Go Programming Language Promo

Google for Developers

Google for Developers

Russ Cox from the Go team at Google showcases the speed and efficiency of building and testing in the Go programming language.

Google I/O 2012 - Go Concurrency Patterns

Google I/O 2012 - Go Concurrency Patterns

Google for Developers

Google for Developers

Rob Pike's presentation on Go concurrency patterns covers the background of concurrency in Go, its distinction from parallelism, and practical patterns for writing concurrent software.

Google I/O 2009 - The Myth of the Genius Programmer

Google I/O 2009 - The Myth of the Genius Programmer

Google for Developers

Google for Developers

A detailed exploration of common myths about programming genius and the importance of collaboration.

Google I/O 2012 - The Art of Organizational Manipulation

Google I/O 2012 - The Art of Organizational Manipulation

Google for Developers

Google for Developers

A detailed guide on navigating and influencing the internal dynamics of an organization.

Reimagine the Future of Gaming with Google AI

Reimagine the Future of Gaming with Google AI

Google for Developers

Google for Developers

A detailed exploration of Google's partnerships in gaming, AI's transformative role in game development and publishing, and a demonstration of smart NPCs in a live game environment.