Programming Scala: Tackle Multi-Core Complexity on the Java Virtual Machine (Paperback))

Venkat Subramaniam

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2009-08-07
  • 定價: $1,220
  • 售價: 1.6$199
  • 語言: 英文
  • 頁數: 250
  • 裝訂: Paperback
  • ISBN: 193435631X
  • ISBN-13: 9781934356319
  • 相關分類: Java 程式語言JVM 語言
  • 立即出貨(限量) (庫存=3)

買這商品的人也買了...

商品描述

The increasing popularity and availability of multicore processors is creating a whole new set of challenges--although you can enjoy true concurrency, you're now faced with higher contention and synchronization issues. Deploying an existing application on a multicore processor may bring out previously hidden concurrency issues. Java's multi-threading facility by itself isn't enough---it's a very low level abstraction. Instead, you need a paradigm that provides a higher level of abstraction to deal with concurrency. It's time to embrace Functional Programming.

Scala is a hybrid Object-Oriented/Functional Programming language on the JVM. Using Scala, you can create traditional imperative programs, intermix them with Java code, and at the same time take advantage of higher levels of abstraction. You can use features that lead to concise, highly expressive code that remove the pain of dealing with concurrency.

Programming Scala will show you the fundamentals of functional programming using Scala. Very quickly, you'll learn how this statically typed language can give you dynamic capabilities to create concise, scalable, highly capable concurrent code.

Pragmatic programmers always use the right tool for the job. For concurrent programming on the Java VM, Scala is the tool, and Programming Scala by award-winning author Venkat Subramaniam is your guide.

商品描述(中文翻譯)

多核處理器的普及和可用性日益增加,帶來了一整套新的挑戰 - 雖然您可以享受真正的並行性,但現在面臨著更高的競爭和同步問題。在多核處理器上部署現有應用程序可能會顯示出以前隱藏的並發問題。單靠Java的多線程功能是不夠的 - 它只是一個非常低層次的抽象。相反,您需要一種提供更高層次抽象以處理並發性的範式。是時候擁抱函數式編程了。

Scala是一種在JVM上的混合面向對象/函數式編程語言。使用Scala,您可以創建傳統的命令式程序,將其與Java代碼混合使用,同時利用更高層次的抽象。您可以使用能夠產生簡潔、高度表達性代碼的功能,從而消除處理並發性的痛苦。

《Programming Scala》將向您展示使用Scala進行函數式編程的基礎知識。您將迅速了解到,這種靜態類型語言如何為您提供動態能力,以創建簡潔、可擴展、高度能力的並發代碼。

實用的程序員總是使用適合的工具來完成工作。對於Java虛擬機上的並發編程,Scala就是這個工具,《Programming Scala》是由屢獲殊榮的作者Venkat Subramaniam撰寫的指南。