Learning Concurrency in Kotlin

Take advantage of Kotlin's concurrency primitives to write efficient multithreaded applications

Learning Concurrency in Kotlin

Miguel Angel Castiblanco Torres

Take advantage of Kotlin's concurrency primitives to write efficient multithreaded applications
Packt Subscription
$5.00
$9.99/m after first month
eBook
$5.00
RRP $35.99
Save 86%
Print + eBook
$44.99
RRP $44.99
What do I get with a Packt subscription?
  • Exclusive monthly discount - no contract
  • Unlimited access to entire Packt library of 6500+ eBooks and Videos
  • 120 new titles added every month, on new and emerging tech
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
$5.00
$5.00
$44.99
$9.99/m after first month
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Subscribe Now

Frequently bought together


Learning Concurrency in Kotlin Book Cover
Learning Concurrency in Kotlin
$ 35.99
$ 5.00
Hands-on Design Patterns with Kotlin Book Cover
Hands-on Design Patterns with Kotlin
$ 35.99
$ 5.00
Buy 2 for $10.00
Save $61.98
Add to Cart

Book Details

ISBN 139781788627160
Paperback266 pages

Book Description

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

Table of Contents

Chapter 9: The Internals of Concurrency in Kotlin

What You Will Learn

  • Understand Kotlin’s approach to concurrency
  • Implement sequential and asynchronous suspending functions
  • Create suspending data sources that are resumed on demand
  • Explore the best practices for error handling
  • Use channels to communicate between coroutines
  • Uncover how coroutines work under the hood

Authors

Table of Contents

Chapter 9: The Internals of Concurrency in Kotlin

Book Details

ISBN 139781788627160
Paperback266 pages
Read More

Read More Reviews

Recommended for You

Hands-on Design Patterns with Kotlin Book Cover
Hands-on Design Patterns with Kotlin
$ 35.99
$ 5.00
Mastering High Performance with Kotlin Book Cover
Mastering High Performance with Kotlin
$ 35.99
$ 5.00
Kotlin Standard Library Cookbook Book Cover
Kotlin Standard Library Cookbook
$ 31.99
$ 5.00
Hands-On Serverless Applications with Kotlin Book Cover
Hands-On Serverless Applications with Kotlin
$ 35.99
$ 5.00
Android 9 Development Cookbook - Third Edition Book Cover
Android 9 Development Cookbook - Third Edition
$ 31.99
$ 5.00
Hands-On Object-Oriented Programming with Kotlin Book Cover
Hands-On Object-Oriented Programming with Kotlin
$ 35.99
$ 5.00