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

  • Scala for Data Science
  • Pascal Bugnion
  • 102字
  • 2021-07-23 14:33:08

Summary

By providing high-level concurrency abstractions, Scala makes writing parallel code intuitive and straightforward. Parallel collections and futures form an invaluable part of a data scientist's toolbox, allowing them to parallelize their code with minimal effort. However, while these high-level abstractions obviate the need to deal directly with threads, an understanding of the internals of Scala's concurrency model is necessary to avoid race conditions.

In the next chapter, we will put concurrency on hold and study how to interact with SQL databases. However, this is only temporary: futures will play an important role in many of the remaining chapters in this book.

主站蜘蛛池模板: 敖汉旗| 来凤县| 营山县| 若羌县| 苏尼特右旗| 东兴市| 绵阳市| 乐至县| 桃源县| 福清市| 潼南县| 新郑市| 顺义区| 罗甸县| 南丰县| 彭水| 吴桥县| 泰宁县| 上杭县| 芦溪县| 成武县| 铜鼓县| 通化县| 建昌县| 邯郸县| 郴州市| 延寿县| 嵊泗县| 石林| 尤溪县| 安顺市| 通榆县| 河南省| 沾益县| 扶沟县| 延长县| 台东县| 玉林市| 民勤县| 平顺县| 兰坪|