HackerTube.dev

Google I/O 2008 - Dalvik Virtual Machine Internals

Google for Developers · 187.9K views · 2008-06-03 · 1:01:34

Open on YouTube ↗

If playback is restricted in your region, try opening the original video. Use Mark watched to add it to your marked videos.

Overview

Dan Bornstein's Google I/O 2008 talk on the internals of Dalvik, the virtual machine that runs Android code. It covers the motivation for its design, the dex format and its register-based interpreter, plus tips for writing code that suits the platform.

On Hacker News

HN points to it as the primary source on Dalvik's dex bytecode, register-based design and memory-saving choices.

Recommended by 1 HN people across 1 months · HN mentions 2012–2018

Topics

Search by tags

What people said

yonran · 2012-05 · Recommendation

Here's Dan Bornstein's talk at Google I/O 2008 about the dex format and the original Dalvik interpreter: [VIDEO] I'm not sure how useful it is in comparing the Dalvik JIT to MonoTouch though.

Read the original HN comment ↗
jashmatthews · 2018-09 · Reference

There's an experimental branch for Ruby: [LINK] Dalvik also uses a register-based bytecode. The early versions of Android needed a more efficient interpreter. Dan Bornstein's talk: [VIDEO] A classic paper on Register vs Stack VMs: [LINK]

Read the original HN comment ↗
chubot · 2017-01 · Reference

This is a great post. I like how they walked through all the steps and especially the "perf" tool. Ruby has a patch to do the same thing -- increase sharing by moving reference counts out of the object itself: Index here: [LINK] First post in a long series: [LINK] I think these patches or something similar may have made it into Ruby 2.0: [LINK] [LINK] The Dalvik VM (now replaced by ART) also did this to run on phones with 64 MiB of memory: [VIDEO] I think PHP might do it too. It feels like Python should be doing this as well.

Read the original HN comment ↗

Sources

Video by Google for Developers, played through YouTube.

Data and selection notes

HN summaries and labels may contain AI errors. HN dates refer to discussions, not video publication.

HN Library: HackerTube export (2026-10-31) and open-index/hacker-news. Upstream summaries and classifications may contain AI errors.

Views, duration and playback status refresh separately from the published catalog. When an update fails, existing data remains visible.

Selection checks
  • SaaS & AI candidates: Topic keywords do not match
  • Editor-approved picks: Editorial review is required

Rule matches identify candidates. They do not guarantee video quality or financial results.

About the library and its sources