menu
{ "item_title" : "Kotlin Coroutines Under the Hood", "item_author" : [" Sivavishnu R "], "item_description" : "Stop using coroutines as magic functions. Understand the machinery underneath. Kotlin Coroutines Under the Hood: A Senior Engineer's Playbook is for developers who already write Kotlin and want to know what really happens when they call launch, async or suspend. Instead of only teaching the keywords, it explains why they behave the way they do, so you can write safer concurrent code and spot bugs on sight. What's inside (24 chapters in 7 parts): Foundations: asynchronous programming, coroutines vs threads at the JVM level, and the Continuation-Passing Style transform and generated state machine the Kotlin compiler creates for every suspend functionContext & Structured Concurrency: CoroutineScope, CoroutineContext, Job hierarchies, dispatchers, cancellation and exception handlingKotlin Flow: Flow fundamentals and operators, StateFlow and SharedFlow, Flow testing and advanced patternsConcurrency Primitives & Patterns: channels, Mutex, Semaphore, the actor pattern, callbackFlow, suspendCancellableCoroutine and testing coroutinesPerformance & Interop: language mechanics under concurrency, Java/Kotlin interop, memory and performance optimization, and sequences vs collectionsSystem design at scale: a rate limiter, worker pool, single-flight cache, backpressure-aware pipeline and circuit breakerAndroid case study: an offline-first news reader built end to end with coroutines, Flow and ComposeInterview & career prep: 50 rules and the bugs you get for breaking them, 30 interview questions with answers, and a closing cheat sheet What makes it different: every mechanism comes with a complete, runnable example, including a benchmark lab comparing 100,000 coroutines with 100,000 threads and a from-scratch dissection of a compiler-generated state machine. Who it's for: Kotlin developers who have used coroutines in real code, on Android, the JVM backend or both, and want to reach senior level. You don't need prior knowledge of compiler internals or the JVM's threading model. Server-side readers can skip the Android case study without missing anything later chapters depend on.", "item_img_path" : "https://covers3.booksamillion.com/covers/bam/9/79/817/139/9798171395490_b.jpg", "price_data" : { "retail_price" : "34.99", "online_price" : "34.99", "our_price" : "34.99", "club_price" : "34.99", "savings_pct" : "0", "savings_amt" : "0.00", "club_savings_pct" : "0", "club_savings_amt" : "0.00", "discount_pct" : "10", "store_price" : "" } }
Kotlin Coroutines Under the Hood|Sivavishnu R

Kotlin Coroutines Under the Hood : A Senior Engineer's Playbook for Structured Concurrency, Flow, Dispatchers, Compiler Internals, and Concurrency at S

local_shippingShip to Me
In Stock.
FREE Shipping for Club Members help

Overview

Stop using coroutines as magic functions. Understand the machinery underneath.

Kotlin Coroutines Under the Hood: A Senior Engineer's Playbook is for developers who already write Kotlin and want to know what really happens when they call launch, async or suspend. Instead of only teaching the keywords, it explains why they behave the way they do, so you can write safer concurrent code and spot bugs on sight.

What's inside (24 chapters in 7 parts):


  • Foundations: asynchronous programming, coroutines vs threads at the JVM level, and the Continuation-Passing Style transform and generated state machine the Kotlin compiler creates for every suspend function

  • Context & Structured Concurrency: CoroutineScope, CoroutineContext, Job hierarchies, dispatchers, cancellation and exception handling

  • Kotlin Flow: Flow fundamentals and operators, StateFlow and SharedFlow, Flow testing and advanced patterns

  • Concurrency Primitives & Patterns: channels, Mutex, Semaphore, the actor pattern, callbackFlow, suspendCancellableCoroutine and testing coroutines

  • Performance & Interop: language mechanics under concurrency, Java/Kotlin interop, memory and performance optimization, and sequences vs collections

  • System design at scale: a rate limiter, worker pool, single-flight cache, backpressure-aware pipeline and circuit breaker

  • Android case study: an offline-first news reader built end to end with coroutines, Flow and Compose

  • Interview & career prep: 50 rules and the bugs you get for breaking them, 30 interview questions with answers, and a closing cheat sheet

What makes it different: every mechanism comes with a complete, runnable example, including a benchmark lab comparing 100,000 coroutines with 100,000 threads and a from-scratch dissection of a compiler-generated state machine.

Who it's for: Kotlin developers who have used coroutines in real code, on Android, the JVM backend or both, and want to reach senior level. You don't need prior knowledge of compiler internals or the JVM's threading model. Server-side readers can skip the Android case study without missing anything later chapters depend on.

This item is Non-Returnable

Details

  • ISBN-13: 9798171395490
  • ISBN-10: 9798171395490
  • Publisher: Independently Published
  • Publish Date: September 2026
  • Dimensions: 9 x 6 x 0.68 inches
  • Shipping Weight: 0.96 pounds
  • Page Count: 324

Related Categories

You May Also Like...

    1

BAM Customer Reviews