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

Introduction to core.async

Long gone are the days when programs were required to do only one thing at a time. Being able to perform several tasks concurrently is at the core of the vast majority of modern business applications. This is where asynchronous programming comes in.

Asynchronous programming and, more generally, concurrency is about doing more with your hardware resources than you previously could. It means fetching data from the network or a database connection without having to wait for the result or, perhaps, reading an Excel spreadsheet into memory while the user can still operate the graphical interface. In general, it improves a system's responsiveness.

In this chapter, we will look at how different platforms handle this style of programming. More specifically, we will cover the following topics:

  • An introduction to the background of core.async and its API
  • Solidifying our understanding of core.async by re-implementing the stock market application in terms of its abstractions
  • Understanding how core.async deals with error handling and backpressure
  • A brief tour of transducers
主站蜘蛛池模板: 肇东市| 瓮安县| 如东县| 奎屯市| 西乌| 孟连| 电白县| 铜川市| 蓝田县| 和田市| 扎赉特旗| 珲春市| 大余县| 南宁市| 宁陵县| 囊谦县| 丰县| 大邑县| 嘉义市| 长兴县| 合水县| 平武县| 哈巴河县| 商城县| 揭东县| 基隆市| 鄂伦春自治旗| 太谷县| 大冶市| 和平县| 通州市| 鄂托克前旗| 甘南县| 五寨县| 巴楚县| 汕头市| 济阳县| 金溪县| 富裕县| 蒙山县| 太仓市|