书籍 Programming Concurrency on the JVM的封面

Programming Concurrency on the JVM

Venkat Subramaniam

出版时间

2011-06-01

ISBN

9781934356760

评分

★★★★★
书籍介绍
Concurrency on the Java platform has evolved, from the synchronization model of JDK to software transactional memory (STM) and actor-based concurrency. This book is the first to show you all these concurrency styles so you can compare and choose what works best for your applications. You’ll learn the benefits of each of these models, when and how to use them, and what their limitations are. Through hands-on exercises, you’ll learn how to avoid shared mutable state and how to write good, elegant, explicit synchronization-free programs so you can create easy and safe concurrent applications. The techniques you learn in this book will take you from dreading concurrency to mastering and enjoying it. Best of all, you can work with Java or a JVM language of your choice – Clojure, JRuby, Groovy, or Scala – to reap the growing power of multicore hardware. If you are a Java programmer, you’d need JDK 1.5 or later and the Akka 1.0 library. In addition, if you program in Scala, Clojure, Groovy or JRuby you’d need the latest version of your preferred language. Groovy programmers will also need GPars.
用户评论
concurrency practice on the jvm (Clojure, Java, JRuby, Scala)
介绍了 JVM 语言中并发的模式与利弊,这对开拓眼界是非常有用的,书中给出的算文件夹大小的例子也不错,由浅入深,逐步完善。
看了一点,不怎么喜欢就放一边了
介绍了一些比较新的并发技术,如STM、Actor等,并进行举例
可以了解一下STM和Actor模式,但是书一直执着地用Closure和Scala,JRuby做例子,能否提升到更高的层次。在STM部分,我看到的更多的是对Closure语言封装性的介绍,dosync如何如何好,如何如何不需要费神。大哥你确定自己不是在写hibernate的使用手册吧。
花了太多篇幅去讲STM和Actors