The Internals of Asynchronous Programming

With a Kotlin implementation example

John Pradeep Vincent
Better Programming
Published in
5 min readJul 4, 2022

--

Photo by Howard Bouchevereau on Unsplash

Most programming languages like Go, Rust, Kotlin, etc provide very “light-weight” thread abstractions.

It allows you to spawn thousands of such lightweight threads without creating any operating system context switch overhead!

--

--