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

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
主站蜘蛛池模板: 黄浦区| 阿图什市| 昌江| 紫阳县| 招远市| 泸州市| 阿拉善右旗| 巧家县| 确山县| 卢湾区| 普安县| 永德县| 达州市| 台东县| 陕西省| 阿拉尔市| 克东县| 沽源县| 西安市| 吴桥县| 社旗县| 南汇区| 高尔夫| 原阳县| 仲巴县| 黄平县| 远安县| 沙雅县| 密云县| 织金县| 永州市| 井冈山市| 汾西县| 吴旗县| 吐鲁番市| 响水县| 肇庆市| 铁力市| 自治县| 晋城| 阳谷县|