~/talk

Introduction to Coroutines

Talkat KotlinConf 2017 · 2017-11-02..11-03· [concurrency, kotlin]
slides:none on file

Shows that Kotlin adds coroutines as first-class primitives using the suspend modifier and coroutine builders like launch and async; demonstrates 100,000 coroutines printing dots successfully while the equivalent thread version throws OutOfMemoryError. Explains sequential-by-default design (use explicit builders for concurrency), the Deferred future type and await extension for Java interop, sequence builders with yield, and that coroutines are lightweight, library-driven, and currently experimental but production-ready.

AI-written summary · about

  1. 0:00Introduction
  2. 1:15microservices
  3. 1:47threats
  4. 4:22callbacks
  5. 6:25futures
  6. 9:03suspension
  7. 12:44suspending functions
  8. 14:43highorder functions
  9. 19:56lunch
  10. 21:08tradition
  11. 30:08recap
  12. 30:49curtains
  13. 35:55Java interoperability
  14. 38:14Coroutines beyond synchronous
  15. 41:25Conclusion
~/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.