jokerconf Joker 2016 (14.10.2016 — 15.10.2016)

Asynchronous, but readable: coroutines in Kotlin

img

Asynchronous programming and coroutines in Kotlin.

The world has become hopelessly concurrent, parallel, asynchronous and push-based. Polling doesn’t work under high load. We resort to asynchronous APIs: callbacks, futures, promises, etc. But the nostalgia for the good old sequential code is growing strong.

This talk is about keeping asynchronous code as simple as synchronous using coroutines — a new feature of Kotlin that generalizes async/await (pioneered by C# a few years ago).