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

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
主站蜘蛛池模板: 荥阳市| 额敏县| 尼木县| 朔州市| 青川县| 万载县| 昌都县| 惠东县| 崇明县| 奇台县| 上犹县| 和硕县| 乌拉特中旗| 江安县| 土默特左旗| 大埔区| 广德县| 丹巴县| 黄大仙区| 宣城市| 蓬莱市| 铜鼓县| 永城市| 栖霞市| 钟祥市| 麻城市| 普格县| 长顺县| 海晏县| 麦盖提县| 长治县| 化德县| 什邡市| 县级市| 封开县| 平舆县| 大冶市| 鹤岗市| 墨玉县| 嘉鱼县| 达拉特旗|