官术网_书友最值得收藏!

Hello, Concurrent World!

This chapter is an introduction to concurrency and how Kotlin approaches concurrency challenges. In this chapter, we will also take a first look at asynchronous code written using coroutines. It's important to mention that while the keywords, primitives, and functions related to concurrency in pure Kotlin will be explained through the book, some knowledge of Kotlin is required in order to be able to fully comprehend the code examples.

The following topics will be covered in this chapter:

  • Processes, threads, coroutines, and their relationships
  • Introduction to concurrency
  • Concurrency versus parallelism
  • CPU-bound and I/O-bound algorithms
  • Why concurrency is often feared
  • Concurrency in Kotlin
  • Concepts and terminology
主站蜘蛛池模板: 新蔡县| 彩票| 万宁市| 奉新县| 台北县| 虎林市| 平乐县| 徐汇区| 鹿邑县| 武强县| 彭水| 茶陵县| 宜丰县| 陵川县| 巴彦淖尔市| 安泽县| 扬中市| 罗田县| 巴林左旗| 通渭县| 临湘市| 鸡泽县| 安吉县| 毕节市| 张家界市| 治多县| 湖南省| 边坝县| 保定市| 左权县| 仁化县| 荆州市| 札达县| 佛学| 元朗区| 长沙县| 金阳县| 始兴县| 西吉县| 巴林左旗| 海盐县|