~/talk

A Hitchhiker's Guide to Compose Compiler: Composers, Compiler Plugins, and Snapshots

slides:none on file

Explains how Jetpack Compose turns Composable functions into runtime groups by augmenting Kotlin IR via a compiler plugin that intercepts Kotlin backend phases and emits restartable, movable, and replaceable groups with a changed bitmask for cheap change detection. Describes the snapshot system with read/write observers used to trigger recomposition, the slot table storing composition ranges, the applier building a layout node tree, and Android ComposeView driving measure/layout/draw so the technique actually yields large runtime performance gains.

AI-written summary · about

  1. 0:00Introduction
  2. 0:48Why learn Compose internals
  3. 1:51Declarative UI trend
  4. 4:22State in Jetpack Compose
  5. 6:06Snapshot system explained
  6. 9:00Snapshot observers
  7. 10:43Recomposition groups
  8. 13:09Compose compiler plugin
  9. 15:38IR transformations
  10. 17:40Group logic in IR
  11. 18:21Slot table overview
  12. 20:10Positional memoization
  13. 21:36Slot table efficiency
  14. 21:57UI applier role
  15. 23:42Layout and drawing
  16. 26:30Compose UI complexity
  17. 27:11Acknowledgments and Q&A
~/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.