Programming Throwdown cover image

144: Kotlin Coroutines with Marcin Moskala

Programming Throwdown

00:00

How Kotlin Stores Local Variables

Kotlin is designed to support coroutines. Java has plans to introduce coroutines in a century or two from now on. If they finally do, Kotlin will be able to use them. It's not an additional cost because we are not copying this state. We're only adding another reference to it. So it simulates it, making those continuation objects that store it.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app