9

Click here to load reader

Introduction to ART (Android Runtime)

Embed Size (px)

DESCRIPTION

Slides to a lightning talk that introduces you to the new Anrdoid Runtime added in Kitkat.

Citation preview

Page 1: Introduction to ART (Android Runtime)

Iordanis “Jordan” Giannakakis @iordanis_g

Introduction to ART

Page 2: Introduction to ART (Android Runtime)

Introduction

• Iordanis “Jordan” Giannakakis • Android Team Lead – Shazam • @iordanis_g

@iordanis_g

Page 3: Introduction to ART (Android Runtime)

What is ART?

New runtime shipped in hidden experimental mode

@iordanis_g

Page 4: Introduction to ART (Android Runtime)

Dalvik vs ART

• JIT vs AOT • Real-time vs installation compilation • Memory efficient vs ??? • Profile-based vs everything • Later vs immediate effect

@iordanis_g

Page 5: Introduction to ART (Android Runtime)

Sadly...

• Only benefits CPU-bound apps * • Requires more storage space

– register machine instructions are longer • Very little documentation • Still under development

@iordanis_g

Page 6: Introduction to ART (Android Runtime)

But also

• FASTER! • Battery life • Better GC • Default runtime soon (maybe?) • Still under development

@iordanis_g

Page 7: Introduction to ART (Android Runtime)

Everybody wins (eventually)

@iordanis_g

Page 8: Introduction to ART (Android Runtime)

Demo time

@iordanis_g

Page 9: Introduction to ART (Android Runtime)

Questions?

Hiring...

@iordanis_g [email protected]