Jump to ratings and reviews
Rate this book

Learning Concurrency in Kotlin: Build highly efficient and robust applications

Rate this book
Take advantage of Kotlin's concurrency primitives to write efficient multithreaded applications The primary requirements of modern-day applications are scalability, speed, and making the most use of hardware. Kotlin meets these requirements with its immense support for concurrency. Many concurrent primitives of Kotlin, such as channels and suspending functions, are designed to be non-blocking and efficient. This allows for new approaches to concurrency and creates unique challenges for the design and implementation of concurrent code. Learning Concurrency in Kotlin addresses those challenges with real-life examples and exercises that take advantage of Kotlin's primitives. Beginning with an introduction to Kotlin's coroutines, you will learn how to write concurrent code and understand the fundamental concepts needed to be able to write multithreaded software in Kotlin. You'll explore how to communicate between and synchronize your threads and coroutines to write asynchronous applications that are collaborative. You'll also learn how to handle errors and exceptions, as well as how to leverage multi-core processing. In addition to this, you’ll delve into how coroutines work internally, allowing you to see the bigger picture. Throughout the book you'll build an Android application – an RSS reader – designed and implemented according to the different topics covered in the book If you’re a Kotlin or Android developer interested in learning how to program concurrently to enhance the performance of your applications, this is the book for you.

266 pages, Paperback

Published July 30, 2018

7 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
0 (0%)
4 stars
3 (50%)
3 stars
2 (33%)
2 stars
1 (16%)
1 star
0 (0%)
Displaying 1 - 2 of 2 reviews
Profile Image for Beka Modebadze.
6 reviews1 follower
September 25, 2022
Concurrency in Kotlin is a good book to give you a quick intro to concurrency in Kotlin. The language used is plain, simple, and easy to comprehend, BUT as are code examples. They are super basic and sometimes it was hard for me to extrapolate a given example to any meaningful scenario I may encounter.

The book gives a very high-level overview of concurrency without any technical details of how they work under the hood. I was expecting those details in the last chapter (The Internals of Concurrency in Kotlin) but it was the most empty chapter of the book with just saying, yeah Kotlin uses CPS and that's it.

Overall, a good book to get an idea of how to use coroutines and other concurrency tools in Kotlin, but lacks depth, good code examples, and technical details of demonstrated workings.
42 reviews3 followers
January 21, 2020
This is good book and very well explained almost all Coroutines concepts in Kotlin. It only needs a little updates, since kotlin/coroutines updated lately.
Displaying 1 - 2 of 2 reviews

Can't find what you're looking for?

Get help and learn more about the design.