In this third section of the book, we'll focus on a more advanced, yet critical, part of development; namely, writing concurrent and thread-safe code. We begin with an exploration of the basic building blocks for concurrency that are available to any application on the JVM, before moving on to the exciting new addition to Kotlin—the coroutines library. The basics of coroutines will be covered, before delving into real-world use cases of coroutines. Finally, we will complete the book with a chapter on serialization in Kotlin, a recent addition to the library that provides for simple, yet extremely performant, marshalling to and from many different formats, such as Json.
The following chapters will be covered in this section:
- Chapter 13, Concurrency
- Chapter 14, Coroutines
- Chapter 15, Application of Coroutines
- Chapter 16, Kotlin...