Learning Concurrency in Kotlin: Build highly efficient and robust applications

Learning Concurrency in Kotlin: Build highly efficient and robust applicationsLearning Concurrency in Kotlin: Build highly efficient and robust applications
by: Miguel Angel Castiblanco Torres
ISBN-10: 1788627164
ISBN-13: 9781788627160
Publication Date 出版日期: 2018-07-30
Print Length 页数: 266


Book Description
By finelybook

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
Contents
1: HELLO,CONCURRENT WORLD!
2: COROUTINES IN ACTION
3: LIFE CYCLE AND ERROR HANDLING
4: SUSPENDING FUNCTIONS AND THE COROUTINE CONTEXT
5: ITERATORS,SEQUENCES,AND PRODUCERS
6: CHANNELS – SHARE MEMORY BY COMMUNICATING
7: THREAD CONFINEMENT,ACTORS,AND MUTEXES
8: TESTING AND DEBUGGING CONCURRENT CODE
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
Miguel Angel Castiblanco Torres
Miguel Angel Castiblanco Torres is a software engineer living in the United States. He works as a full-stack technical leader and software designer at Globant,where he has led many successful projects for a Forbes’ Top Ten World’s Most Valuable Brand and Top Five Regarded Company.
Passionate about what’s next,Miguel was an early adopter of Kotlin,writing about Kotlin’s concurrency primitives from the first beta release of coroutines. He always keeps an eye on the new and upcoming features of Kotlin.

相关文件下载地址

下载地址 Download解决验证以访问链接!
打赏
未经允许不得转载:finelybook » Learning Concurrency in Kotlin: Build highly efficient and robust applications

评论 抢沙发

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫