~/talk

@Experimental Kotlin coroutines

Talkat Women Techmakers Barcelona 2019 · on Saturday, 2019-04-06· [kotlin, concurrency]
links:none on file
slides:none on file

Kotlin coroutines are stable in 1.3 but several API bits remain experimental or obsolete and may change. The session shows concrete patterns: using Channel, Actor, Select to implement a hamburger-stand simulation with two cooks, a producer of orders and a massive run of 8 people × 3 requests (24 actions) yielding 9 final orders. It demonstrates buffering modes (rendezvous, conflated, buffered, unlimited), differences like produce vs actor builders (produce auto-closes, actor must be closed), and using select to pick the first ready resource.

AI-written summary · about

  1. 0:00Introduction to coroutines
  2. 6:38Coroutines vs threads
  3. 9:06Sequential vs concurrent cooking
  4. 10:34Scaling with channels
  5. 15:15Implementing channel logic
  6. 18:53Channel buffer types
  7. 20:21Actor for synchronization
  8. 24:19Selecting first available
  9. 27:30Final demo and summary
  10. 29:53Q&A session
~/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.