0 رای
وضعیت موجودی موجود

قیمت قبلی: 3,460,000 ریال
قیمت: 3,060,000 ریال

 



Product details

  • ASIN ‏ : ‎ 1788627164
  • Publisher ‏ : ‎ Packt Publishing (July 30, 2018)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 266 pages
  • ISBN-10 ‏ : ‎ 9781788627160
  • ISBN-13 ‏ : ‎ 978-1788627160

 

کتاب Learning Concurrency in Kotlin: Build highly efficient and robust applications

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. Hello Concurrent World!
  2. Coroutines in Action
  3. Lifecycle and Error Handling
  4. Suspending Functions and The Coroutine Context
  5. Generators: Iterators and Sequences_noimages
  6. Channels: Share Memory by Communicating
  7. Thread Confinement, Actors, and Mutexes
  8. Testing Concurrent Code
  9. How Coroutines Work?

منابع کتاب کتاب Learning Concurrency in Kotlin: Build highly efficient and robust applications

برای نوشتن برنامه های کاربردی چند رشته ای کارآمد از ویژگی های اولیه همزمانی کاتلین استفاده کنید

ویژگی های کلیدی

  • رویکرد منحصر به فرد کاتلین برای چند رشته ای را بیاموزید
  • با مثال های عملی کار کنید که به شما در نوشتن کد غیر مسدود کننده همزمان کمک می کند
  • بهبود سرعت اجرای کلی در سیستم های چند پردازنده ای و چند هسته ای

توضیحات کتاب

الزامات اولیه برنامه های امروزی مقیاس پذیری، سرعت و استفاده حداکثری از سخت افزار است. Kotlin این الزامات را با پشتیبانی بی‌شمار خود برای همزمانی برآورده می‌کند. بسیاری از موارد اولیه همزمان کاتلین، مانند کانال ها و عملکردهای تعلیق، به گونه ای طراحی شده اند که مسدود کننده و کارآمد باشند. این اجازه می دهد تا برای رویکردهای جدید همزمانی و ایجاد چالش های منحصر به فرد برای طراحی و پیاده سازی کد همزمان. یادگیری همزمانی در کاتلین با مثال‌ها و تمرین‌هایی که از اصول اولیه کاتلین استفاده می‌کنند، به چالش‌ها می‌پردازد. با مقدمه‌ای بر روتین‌های کاتلین، یاد می‌گیرید که چگونه کد همزمان بنویسید و مفاهیم اساسی مورد نیاز برای نوشتن نرم‌افزار چند رشته‌ای در کاتلین را درک کنید. شما' نحوه برقراری ارتباط بین رشته‌ها و برنامه‌های مشترک و همگام‌سازی آنها برای نوشتن برنامه‌های ناهمزمان که مشارکتی هستند را بررسی خواهیم کرد. همچنین یاد خواهید گرفت که چگونه خطاها و استثنائات را مدیریت کنید، و همچنین نحوه استفاده از پردازش چند هسته ای را یاد خواهید گرفت. علاوه بر این، شما به نحوه عملکرد داخلی کوروتین ها می پردازید و به شما امکان می دهد تصویر بزرگتر را ببینید. در طول کتاب شما یک برنامه اندروید – یک خواننده RSS – طراحی و پیاده سازی می کنید که با توجه به موضوعات مختلف پوشش داده شده در کتاب طراحی شده است.

آنچه خواهید آموخت

  • رویکرد کاتلین به همزمانی را درک کنید
  • اجرای توابع تعلیق متوالی و ناهمزمان
  • منابع داده معلق ایجاد کنید که در صورت تقاضا از سر گرفته می شوند
  • بهترین روش‌ها برای مدیریت خطا را بررسی کنید
  • از کانال ها برای برقراری ارتباط بین برنامه ها استفاده کنید
  • نحوه عملکرد کوروتین ها در زیر کاپوت را کشف کنید

این کتاب برای چه کسی است

اگر شما یک توسعه دهنده کاتلین یا اندروید هستید که علاقه مند به یادگیری نحوه برنامه نویسی همزمان برای افزایش عملکرد برنامه های خود هستید، این کتاب برای شما مناسب است.

فهرست مطالب

  1. سلام جهان همزمان!
  2. Coroutines in Action
  3. چرخه عمر و مدیریت خطا
  4. توابع تعلیق و زمینه اصلی
  5. Generators: Iterators و Sequences_noimages
  6. کانال ها: با برقراری ارتباط، حافظه را به اشتراک بگذارید
  7. محصور کردن موضوع، بازیگران، و Mutexes
  8. تست کد همزمان
  9. کوروتین ها چگونه کار می کنند؟

نظرات کاربران درباره کتاب Learning Concurrency in Kotlin: Build highly efficient and robust applications

نظری در مورد این محصول توسط کاربران ارسال نگردیده است.
اولین نفری باشید که در مورد کتاب Learning Concurrency in Kotlin: Build highly efficient and robust applications نظر می دهد.

ارسال نظر درباره کتاب Learning Concurrency in Kotlin: Build highly efficient and robust applications

لطفا توجه داشته باشید که ایمیل شما منتشر نخواهد شد.

بر اساس سلیقه شما...

  Product details Publisher ‏ : ‎ CRC Press; 1st editio ...
2,200,000 ریال
  این کتاب به صورت  رنگی  است. Product details ...
18,640,000 ریال

codebazan

طراحی و اجرا: فروشگاه ساز سبدخرید