Take advantage of Kotlin's concurrency primitives to write efficient multithreaded applications Key Features Learn Kotlinβs unique approach to multithreading Work through practical examples that will help you write concurrent non-blocking code Improve the overall execution speed in multiprocessor an
Learning Concurrency in Kotlin: Build highly efficient and robust applications
β Scribed by Miguel Angel Castiblanco Torres
- Publisher
- Packt Publishing Ltd
- Year
- 2018
- Tongue
- English
- Leaves
- 266
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
Take advantage of Kotlin's concurrency primitives to write efficient multithreaded applications Key Features Learn Kotlinβs unique approach to multithreading Work through practical examples that will help you write concurrent non-blocking code Improve the overall execution speed in multiprocessor and multicore systems 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 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 Who this book is for 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.
π SIMILAR VOLUMES
<h4>Key Features</h4><ul><li>Build highly efficient, robust, and concurrent applications</li><li>Work through practical examples that will help you address the challenges of writing concurrent code</li><li>Improve the overall speed of execution in multiprocessor and multicore systems and keep them h
Key Features β’ Build highly efficient, robust, and concurrent applications β’ Work through practical examples that will help you address the challenges of writing concurrent code β’ Improve the overall speed of execution in multiprocessor and multicore systems and keep them highly available Book
Take Python beyond scripting to build robust, reusable, and efficient applications About This Book Get to grips with Python techniques that address commonly encountered problems in general application development. Develop, package, and deploy efficient applications in a fun way. All-practical covera
Take Python beyond scripting to build robust, reusable, and efficient applications About This Book Get to grips with Python techniques that address commonly encountered problems in general application development. Develop, package, and deploy efficient applications in a fun way. All-practical covera
<p><b>A hands-on guide to Android programming with Spring MVC, Spring Boot, and Spring Security</b></p> Key Features <li>Build native Android applications with Spring for Android </li> <li>Explore Reactive programming, concurrency, and multithreading paradigms for building fast and efficient applica