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

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
主站蜘蛛池模板: 雷波县| 夏邑县| 噶尔县| 高要市| 长宁区| 喀喇沁旗| 仁布县| 公安县| 金坛市| 肃北| 开江县| 明光市| 白河县| 东宁县| 旬阳县| 磐安县| 重庆市| 丰原市| 东海县| 崇左市| 堆龙德庆县| 台前县| 西林县| 米脂县| 保亭| 石狮市| 和平县| 合水县| 广汉市| 兴海县| 牙克石市| 诸暨市| 博兴县| 宜章县| 称多县| 福泉市| 连平县| 海盐县| 英吉沙县| 静海县| 体育|