~/talk

How Channels Work in Kotlin Coroutines

TalkinRussianat Joker 2018 · 2018-10-19..10-20· [kotlin]
links:none on file
slides:none on file

Explains how coroutine channels work as a concurrency primitive that lets one coroutine send and another receive elements, with optional synchronization so senders and receivers can wait for each other. Compares channel implementations across languages and libraries, describes the algorithm Kotlin uses to implement channels, and contrasts Kotlin’s approach with Go.

AI-written summary · about

  1. 0:00Coroutines introduction
  2. 1:06Why channels
  3. 3:14Coroutines vs threads
  4. 4:16Toy channel problem
  5. 6:43Rendezvous channels
  6. 9:10Channel basics
  7. 11:21Go channels comparison
  8. 13:35Atomic counters
  9. 18:1464-bit counter issues
  10. 21:52Storing rendezvous cells
  11. 24:45Benchmarking channels
  12. 29:09Buffered channels
  13. 34:34Performance vs Go
  14. 37:13Cancelling tasks
  15. 39:40Select operator
  16. 41:45Non-blocking select
  17. 46:16Select implementation
  18. 48:48Multiple selects
  19. 51:00Cancellation in coroutines
  20. 53:17Other synchronization
  21. 55:26Select performance
  22. 56:55Q&A
~/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.