jokerconf Joker 2018 (19.10.2018 — 20.10.2018)

Channels in Kotlin coroutines


Channels algorithms in Kotlin coroutines, comparison with other languages and libraries.

Unlike traditional concurrent programming with shared mutable state manipulation, coroutines use channels for communication. Essentially, you can send a value into channels from one coroutine and receive this value into another. At the same time, send and receive operations can be synchronized, so the sender waits for the receiver or vice versa.

In this talk, we’ll consider the existent channel algorithms, discuss the one developed in Kotlin coroutines, and find out which is better: Kotlin or Go.