Java并发实践仍然有效吗?我想知道书中描述的思想、概念和实现是否仍然符合最新的Java版本。

我这么问是因为最新的版本是2006年完成的。


当前回答

I bought this book in 2013. I had very serious doubts that it would be current and useful given that this edition was published so long ago. The technology world moves quickly, and software technology even faster. Even so, this book is foundational. The concepts and practices that are discussed are more underpinnings for good software design and engineering than updates on the latest and greatest API's. This book has been indispensable, and I am glad that I got it before I had decided to write even a single line of concurrent code. It's probably saved me countless hours.

其他回答

I bought this book in 2013. I had very serious doubts that it would be current and useful given that this edition was published so long ago. The technology world moves quickly, and software technology even faster. Even so, this book is foundational. The concepts and practices that are discussed are more underpinnings for good software design and engineering than updates on the latest and greatest API's. This book has been indispensable, and I am glad that I got it before I had decided to write even a single line of concurrent code. It's probably saved me countless hours.

嗯,我在网上读了一些预览章节,这本书看起来很有前景。它对Java和一般并发性方面提供了足够的见解。在设计和实现简单和复杂的并发应用程序时,可以将这本书作为一个方便的装备。

如果你打算使用Java 8开始你的项目,你可能也会考虑一些新的书籍和教程,因为Java 8中出现了一些新东西,比如流、lambdas和新的原子——这些东西会稍微改变开发方法。

我会这么说。JDK7添加了fork-join框架,但这只是对早期并发工具的增强而不是替代。

是的,在我看来它仍然有效。从6点到7点这个区域没有太大的变化。Fork-join是一个新特性,它非常适合于分治类型的问题。但是书中现有的所有内容,如同步、volatile、servlet,仍然非常有效。