- 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.
推薦閱讀
- UML和模式應(yīng)用(原書第3版)
- Testing with JUnit
- 神經(jīng)網(wǎng)絡(luò)編程實(shí)戰(zhàn):Java語言實(shí)現(xiàn)(原書第2版)
- Flash CS6中文版應(yīng)用教程(第三版)
- Spring+Spring MVC+MyBatis整合開發(fā)實(shí)戰(zhàn)
- Teaching with Google Classroom
- Microsoft Azure Storage Essentials
- Android傳感器開發(fā)與智能設(shè)備案例實(shí)戰(zhàn)
- C# Multithreaded and Parallel Programming
- Extending Unity with Editor Scripting
- Clojure for Java Developers
- Learning Concurrency in Python
- Java高級(jí)程序設(shè)計(jì)
- After Effects CC案例設(shè)計(jì)與經(jīng)典插件(視頻教學(xué)版)
- Elasticsearch Blueprints