Get 20% off all career paths from fullstack to AI
Stuck in Tutorial Hell? Learn Backend Dev the Right Way
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
Explore asynchronous programming approaches and their evolution in this conference talk from GOTO Copenhagen 2018. Delve into Kotlin Coroutines, a fresh approach to async programming, and compare it with traditional async/await methods based on futures/promises. Learn about suspending functions, dispatchers, and structured concurrency in Kotlin. Discover how to implement asynchronous operations using Retrofit, handle callbacks, and analyze responses. Examine use cases for async functions and understand why Kotlin doesn't have an await keyword. Gain insights into idiomatic Kotlin async programming and see practical examples, including a concurrent Fibonacci sequence implementation.
Syllabus
Intro
History
Callbacks: after
Bonus features
Kotlin suspending functions
Retrofit async
Install callback
Analyze response
Coroutines revisited
Dispatcher
Why no await keyword in Kotlin?
Use-case for async
Kotlin async function
Crash?
Idiomatic: Using async function when needed
Kotlin approach to async
Structured concurrency
Concurrent Fibonacci sequence
Classic async
Taught by
GOTO Conferences