Coroutines vs. Callbacks: The SimilarityCallbacks: In traditional asynchronous programming, especially in languages like JavaScript, you might pass a callback function to an asynchronous operation. Once the operation completes, the callback4 min read·blog.qubartech.com2Aug 23, 2024
What is Dispatcher, Thread and Threadpool?What is a Dispatcher in Kotlin Coroutines? In Kotlin coroutines, a dispatcher is responsible for determining the thread or thread pool where a coroutine will execute. Dispatchers control the threading5 min read·blog.qubartech.comAug 23, 2024
Why coroutines is so popular why there was no solution like this before in Android?Coroutines, while gaining popularity in recent years, are not a completely new concept. They have evolved from various programming paradigms and languages that aimed to solve similar problems of concurrency, efficiency, and simplifying asynchronous c...4 min read·blog.qubartech.com1Aug 23, 2024
What is suspension in coroutines and how it works?What is "Suspending" in Coroutines? A coroutine is a lightweight thread-like structure that allows you to write asynchronous code in a sequential manner. The key feature of a coroutine is its ability to suspend its execution without blocking the unde...3 min read·blog.qubartech.comAug 23, 2024
Deep Dive into Kotlin Coroutines, Threads, and SuspensionThis is all about Kotlin coroutines, dispatchers, thread, thread pool, etc7 min read·blog.qubartech.comAug 23, 2024