~/talk

Understanding the Kotlin to Dalvik bytecode translation

links:none on file
slides:none on file

Walks through a Dalvik recompiler project that uncovers concrete translation bugs and debugging steps: builds go from Kotlin/Java → class files → D8 → DEX → JIT/AOT machine code, uses ProGuard/R8 mappings and smali/baksmali to inspect output, and tries compiler explorer/godbolt for bytecode checks. Shows a reproducible failure where a method works normally but throws on reflection because an API-class missing on older Android plus aggressive renaming breaks overload resolution. Provides dex2oat and baseline-profile techniques to isolate JIT/AOT issues.

AI-written summary · about

  1. 0:00Kotlin to Dalvik translation
  2. 1:52Kotlin to machine code
  3. 6:28Source to Java bytecode
  4. 9:40Java bytecode to DEX
  5. 14:53DEX tools and optimization
  6. 21:19Bytecode features
  7. 26:40DEX to machine code
  8. 32:56Translation in practice
  9. 36:49Common misunderstandings and bug patterns
  10. 37:57Q&A on suspend and JIT
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.