Programming Scala: Tackle Multi-Core Complexity on the Java Virtual Machine (Paperback))
暫譯: Scala 程式設計:在 Java 虛擬機上應對多核心複雜性 (平裝本)

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 VM 上的並發編程,Scala 是這個工具,而獲獎作者 Venkat Subramaniam 的 Programming Scala 將是你的指導。