~/talk

Coroutines Update

Talkat Kotlin 1.4 Online Event · 2020-10-12..10-15· [kotlin, testing]
slides:none on file

Debugging now shows recovered coroutine stacks in IntelliJ 2020.1 plus a coroutines tab that lists suspended and running coroutines and shows creation stacks. Flow gets concrete primitives: StateFlow replaces ConflatedBroadcastChannel for single latest-state propagation, SharedFlow (and shareIn) handles replayed event streams. Kotlinx.coroutines reduces app DEX size by about 30% and revises the scheduler to cut CPU in some cases by up to 4x. Adds runInterruptible, BlockHound integration, plans to stabilize StateFlow/SharedFlow, improve resource APIs, deprecate unsafe offer/poll, and add time operators and sliceable dispatchers.

AI-written summary · about

  1. 0:00Debugging coroutines
  2. 3:49Introduction to flow
  3. 4:48Managing state with state flow
  4. 8:14Event streams with shared flow
  5. 13:49Core flow operators
  6. 16:56Android and performance updates
  7. 19:08Java interoperability
  8. 20:26Future roadmap
~/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.