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

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
主站蜘蛛池模板: 郑州市| 务川| 海安县| 榕江县| 志丹县| 民乐县| 眉山市| 日照市| 泗阳县| 孝义市| 苍梧县| 文登市| 花莲县| 巴南区| 襄城县| 邢台县| 乡宁县| 伽师县| 会同县| 扎鲁特旗| 开远市| 左权县| 从化市| 遵化市| 邹平县| 水城县| 香河县| 宝山区| 文登市| 老河口市| 红河县| 古田县| 郴州市| 游戏| 确山县| 吉首市| 湘阴县| 桃江县| 阳江市| 尉氏县| 黄梅县|