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

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
主站蜘蛛池模板: 绥芬河市| 宣城市| 开阳县| 遂平县| 遂溪县| 徐汇区| 思茅市| 天长市| 宜丰县| 庆云县| 汤原县| 茶陵县| 昔阳县| 永仁县| 宜丰县| 黄浦区| 古浪县| 康马县| 武陟县| 阳江市| 九江市| 布拖县| 综艺| 靖远县| 子洲县| 清水县| 延长县| 拜城县| 来凤县| 太白县| 印江| 高安市| 故城县| 子洲县| 大邑县| 县级市| 交口县| 花垣县| 酉阳| 孝昌县| 陕西省|