Discussing Kotlin Coroutines with Marcin Moskała

Discussing Kotlin Coroutines with Marcin Moskała

From Talking Kotlin by Talking Kotlin

October 23, 2025 · 2h 3m · Season 1 · Episode 141

About this episode

The episode features a discussion on Kotlin coroutines with expert Marcin Moskała, covering various aspects including design, common mistakes, and testing.

Sebastian and Márton chat with Marcin Moskała about coroutines. Resources: Coroutines Mastery course Coroutines | Kotlin Documentation kotlinx.coroutines Taming Asynchronous Beasts | Marcin Moskała Coroutine Debugging in IntelliJ IDEA | Alexey Merkulov Lifecycles, Coroutines and Scopes | Alejandro Serrano Mena Collect Like a Pro | Manuel Vivo Untangling Coroutine Testing | Márton Braun JetBrains/lincheck – Concurrent testing framework #talking-kotlin on Kotlin Slack Hosts: Sebastian Aigner – Website | Bluesky Márton Braun – Website | Bluesky Guest: Marcin Moskała – kt.academy Timeline: (0:00) Introduction (1:18) Branding discussion (3:23) Handling preconceptions (4:54) What are coroutines? (7:17) Lightweight threads? (11:07) Where coroutines live (13:27) Sequence Builder Example (17:37) The design of coroutines (20:52) What Makes Coroutines special vs other languages? (26:56) Coroutines vs Loom (34:55) Easy to start, hard to master (41:07) Common mistakes (49:33) Flows (58:52) Thinking about Flows (1:02:41) Derailing the conversation (1:03:55) Flows for single values (1:12:27) Structured concurrency (1:18:53) The 4 advantages (1:24:40) Seb tries web dev / The web is broken…

People in this episode

Hosts: Sebastian Aigner, Márton Braun

Guest: Marcin Moskała

Topics covered

  • Kotlin Coroutines
  • Asynchronous Programming
  • Concurrency
  • Software Development
  • Debugging
  • Testing

Keywords

  • Kotlin
  • Coroutines
  • Asynchronous
  • Debugging
  • Testing
  • Concurrency
  • Software Development

Mentioned in this episode

Organizations: JetBrains, kt.academy

Books & works: Coroutines Mastery course, Coroutines | Kotlin Documentation, Taming Asynchronous Beasts, Coroutine Debugging in IntelliJ IDEA, Lifecycles, Coroutines and Scopes, Collect Like a Pro, Untangling Coroutine Testing, lincheck

More episodes of Talking Kotlin

Explore listener stats, chart rankings, contacts and more on the Talking Kotlin podcast page.