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

Understanding Goroutines

Software development and programming has advanced quite a lot in the past decade. Many concepts that were previously considered academic and inefficient are beginning to find a place among modern software solutions. Two such concepts are coroutines (goroutines in Go) and channels. Conceptually, they have evolved over time and they have been implemented differently in each programming language. In many programming languages such as Ruby or Clojure, they are implemented as libraries, but in Go, they are implemented within the language as a native feature. As we shall see, this makes the language really modern, quite efficient, and an advanced programming language.

In this chapter we will try to gain an understanding of Go by looking at goroutines and the following topics:

  • Concurrency and parallelism
  • Go's runtime scheduler
  • Gotchas when using goroutines
主站蜘蛛池模板: 皮山县| 当阳市| 灵武市| 锦屏县| 灵台县| 永城市| 永宁县| 三都| 太原市| 南澳县| 辛集市| 双辽市| 安溪县| 珠海市| 云安县| 石棉县| 剑河县| 武山县| 榆中县| 安国市| 陈巴尔虎旗| 筠连县| 湘潭县| 望江县| 乌审旗| 新宾| 南召县| 新宾| 南充市| 新余市| 额尔古纳市| 类乌齐县| 义马市| 靖宇县| 云龙县| 根河市| 夏津县| 乌海市| 通江县| 凤城市| 会理县|