圖書標籤: java 並發 jvm concurrency Java 並行 JVM 編程
发表于2025-03-10
Programming Concurrency on the JVM pdf epub mobi txt 電子書 下載 2025
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.
Dr. Venkat Subramaniam is an award-winning author, founder of Agile Developer, Inc., and an adjunct faculty at the University of Houston. He has trained and mentored thousands of software developers in the US, Canada, Europe, and Asia, and is a regularly-invited speaker at several international conferences.
concurrency practice on the jvm (Clojure, Java, JRuby, Scala)
評分言簡意賅,通俗易懂。開始的時候擔心對多綫程沒有很充足的經驗閱讀本書會很吃力,結果非常流暢。對一些基本原則,stm,actor都講解的非常清晰,實在是我這半年來讀過最好的書。
評分以後有時間再讀第2遍吧。例子仍然比較基礎。
評分JVM並發,不是Java並發。separation mutable identity from immutable state values。介紹瞭STM以及Actor模式。適閤有Scala、Clojure背景的程序員。
評分這本書不算經典,前端講解java並發,不夠深入,既然看此書的人都懂,還不如刪除這塊,後麵講解STM和ATCOR,大叔不用每個語言都來一種寫法吧,全書充滿scala的廣告,好吧我準備學習一下這個語言,STM和atcor也是點到為止,完全沒有解釋akka如何實現的,作為入門還行吧.
软件通过并发访问提高性能,这是大家的共识;但是并发带来的一系列问题,也正是大家所头疼的。这本书介绍了软件实现中遇到的并发问题,和Java中应对这些问题的方法: 共享可变性:容易出问题,相比老的java同步api,java 1.5引入的并发接口更好一点,还有Lock类可以更灵活的控...
評分作者试图展示各种处理并发的范式,但是每种都讲得不深,给出的例子不超过5个状态的处理。看了这本书我还是很怀疑stm和actor在并发状态很多,流程比较复杂的情况下能否比加锁的方式好用。还有就是用加锁的方式可以封装出一些高级的并发的数据结构,stm和actor在这方面的...
評分软件通过并发访问提高性能,这是大家的共识;但是并发带来的一系列问题,也正是大家所头疼的。这本书介绍了软件实现中遇到的并发问题,和Java中应对这些问题的方法: 共享可变性:容易出问题,相比老的java同步api,java 1.5引入的并发接口更好一点,还有Lock类可以更灵活的控...
評分作者试图展示各种处理并发的范式,但是每种都讲得不深,给出的例子不超过5个状态的处理。看了这本书我还是很怀疑stm和actor在并发状态很多,流程比较复杂的情况下能否比加锁的方式好用。还有就是用加锁的方式可以封装出一些高级的并发的数据结构,stm和actor在这方面的...
評分有时间再重新温故而知新下有时间再重新温故而知新下有时间再重新温故而知新下有时间再重新温故而知新下有时间再重新温故而知新下有时间再重新温故而知新下有时间再重新温故而知新下有时间再重新温故而知新下有时间再重新温故而知新下有时间再重新温故而知新下有时间再重新温故...
Programming Concurrency on the JVM pdf epub mobi txt 電子書 下載 2025