~/talk

Explained: Compose Compiler and Runtime

links:none on file
slides:none on file

Explains how Jetpack Compose achieves context awareness and hot recomposition by a Kotlin compiler plugin that rewrites bytecode and by a runtime that stores UI state in a slot table (gap buffer). The compiler injects a composer parameter + bitmask int into composable methods, wraps restartable regions in restart groups with updateScope, and inlines remember to read/write slots. The presenter decompiles a simple counter to show the exact generated calls, and demonstrates that state objects trigger updateScope calls so recomposition and skipping work efficiently.

AI-written summary · about

  1. 0:00Introduction
  2. 1:34What is a composable
  3. 3:19Composable superpowers
  4. 8:33Compiler plugin role
  5. 11:04How superpowers work
  6. 14:55Runtime and slot table
  7. 21:16How remember works
  8. 25:49Key takeaways
  9. 27:38Q&A and closing
~/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.