Learning Concurrency in Kotlin

  • ناشرPackt
  • سال انتشار2018
  • ویرایش1
  • زبانEnglish
  • تعداد صفحات254
  • شابک9781788627160

شناسه محصول: SKY-KTL-CODE-A1231 دسته: , ,
برند: Packt

محدوده قیمت: 655,000 تومان تا 1,591,000 تومان

13 نفر در حال مشاهده این محصول هستند!

تحویل اکسپرس

حمل رایگان سفارشات بالای 1 میلیون تومان

پرداخت امن

امکان پرداخت انلاین یا پرداخت حضروی درب منزل

ضمانت اصالت کالا

امکان پرداخت انلاین یا پرداخت حضروی درب منزل

7 روز گارانتی بازگشت وجه

امکان پرداخت انلاین یا پرداخت حضروی درب منزل

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.

Table of Contents

  1. 1. Hello Concurrent World!
  2. 2. Coroutines in Action
  3. 3. Lifecycle and Error Handling
  4. 4. Suspending Functions and The Coroutine Context
  5. 5. Generators: Iterators and Sequences_noimages
  6. 6. Channels: Share Memory by Communicating
  7. 7. Thread Confinement, Actors, and Mutexes
  8. 8. Testing Concurrent Code
  9. 9. How Coroutines Work?
ناشرPackt
ویرایش1
زبانEnglish
سال انتشار2018
شابک9781788627160
تعداد صفحات254
قطعB5
کیفیتاورجینال انتشارات
نوع چاپرنگی, سیاه و سفید
نوع جلدجلد سخت, شومیز, طلقی

نقد و بررسی‌ها

هنوز بررسی‌ای ثبت نشده است.

اولین کسی باشید که دیدگاهی می نویسد “Learning Concurrency in Kotlin”

نشانی ایمیل شما منتشر نخواهد شد. بخش‌های موردنیاز علامت‌گذاری شده‌اند *

محدوده قیمت: 655,000 تومان تا 1,591,000 تومان

محصولات مشابه