Coroutines in Kotlin
summary
Overview of approaches to asynchronous programming, contrasting the traditional async/await (Futures/Promises) model with Kotlin coroutines. Explains how Kotlin’s coroutine support works and argues it provides a simpler and safer programming model for modern systems that communicate asynchronously.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 3:35Thread and callback problems
- 7:32Kotlin async approach
- 11:26How suspend works
- 14:14Java futures integration
- 19:55Calling suspend from Java
- 23:35Launching coroutines
- 27:47Sequential vs parallel
- 31:42Kotlin design philosophy
- 34:35Coroutines in Java
- 37:27Advanced coroutine use cases
- 42:49Kotlin ecosystem coroutines
- 45:15Q&A
