~/talk

Kotlin Coroutines: Asynchronous Programming Made Simple

Talkat Java Day Minsk 2017 · on Saturday, 2017-06-03· [kotlin, concurrency]
links:none on file
slides:none on file

Kotlin coroutines are presented as a cooperative, non‑blocking primitive built on a single keyword suspend functions that compiles into state machines and tiny objects, letting code suspend without blocking threads. Examples show runBlocking and launch with Dispatchers and CommonPool, cancellation and timeouts, wrapping Java futures for interoperability, and claims of easily creating 100,000 coroutines (vs heavy native threads). Notes stability is experimental and channels and sequences exist but aren’t fully demoed.

AI-written summary · about

  1. 0:00Introduction to Kotlin coroutines
  2. 3:23What are coroutines and why use them
  3. 8:50Key features of Kotlin coroutines
  4. 12:22How coroutines differ from threads
  5. 17:17Practical use cases for coroutines
  6. 21:12Low-level coroutine API
  7. 27:18Coroutine internals and compilation
  8. 31:56Converting Java APIs to coroutines
  9. 35:10Cancellation and cleanup in coroutines
  10. 36:12Sequences and coroutine generators
  11. 39:04Coroutine context and dispatchers
  12. 41:54Thread safety with coroutines
  13. 43:16Debugging coroutines
  14. 43:58Using coroutines from Java
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.