~/talk

Asynchronous but Clear: Coroutines in Kotlin

TalkinRussianat Joker 2016 · 2016-10-14..10-15· [kotlin]
slides:none on file

Kotlin's coroutine support is presented as a way to write clear asynchronous code without callback/Future/Promise clutter. It explains how Kotlin generalizes async/await ideas (in particular from C#) into a more universal coroutine mechanism that enables not only async programming but also lazy evaluation and other control-flow patterns.

AI-written summary · about

  1. 0:00Introduction
  2. 2:52Thread blocking problem
  3. 4:42First coroutine example
  4. 7:11Coroutine goals and benefits
  5. 10:42Kotlin coroutine scopes
  6. 12:03Comparison with C# and others
  7. 14:20Coroutines in practice
  8. 17:02Coroutine controller implementation
  9. 21:59Controller workflow and results
  10. 25:30Building coroutine libraries
  11. 26:54How coroutines compile
  12. 30:27Compilation to state machine
  13. 33:41State machine details
  14. 36:37Coroutine flexibility and use
  15. 37:19Debugging and responsibility
  16. 39:48Coroutine exception handling
  17. 44:16Finally blocks issues
  18. 47:12Real-world coroutine example
  19. 49:39Sustainable implementation outlook
  20. 51:45Try coroutines now
  21. 52:49Limitations and static checks
  22. 54:16Comparison with other approaches
  23. 55:20Kotlin support timeline
~/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.