《Java 并发编程》封面

Java 并发编程

Concurrent Programming in Java

Doug Lea · 初版 1999 年

1人推荐
5位读者提及
5次提及

Hacker News 上怎么说

  • Doug Lea 的《Java并发编程》(Concurrent Programming in Java)。(不过如果有得选的话,实际写代码还是用更强大的语言吧,比如 MzScheme)。

    Concurrent Programming in Java by Doug Lea. (Though do your actual programming in a more powerful language such as MzScheme if you have any choice).

  • ……比起 Java [18] 等主流语言中使用的共享状态并发(shared-state concurrency),编写起来要简单得多”——如果你去翻翻文献 [18],它根本无法佐证“更简单”这一说法;它引用的是 Doug Lea 的《Java并发编程》(Concurrent Programming in Java)。所谓的简单依然只是个断言而已。这可能是写作不够严谨,也可能不是。

    …much simpler to program with than the shared-state concurrency used in mainstream languages such as Java [18]" -- if you look at [18], it doesn't support the simplicity claim; it's a reference to Doug Lea's "Concurrent Programming in Java". The simplicity claim remains a claim. That may be sloppy writing. Or not.

  • ……看到这篇论文发布超级激动。我用过 Python、Java、C#、Javascript,也稍微折腾过 C 和 Rust。Clojure 带来的范式转变是最大的,甩开其他语言一大截。以前在 Java 里搞过并发编程,甚至还自己实现过信号量(semaphore)等并发原语,用上 Clojure 简直爽到飞起。科普一下,Clojure 使用不可变数据结构(immutable data structures)来缓解并发问题。如果……

    …was super excited to see this paper released. I've spent time with Python, Java, C#, Javascript and limited time on C and Rust. Clojure was the largest paradigm shifter by a large margin. Having done concurrent programming in Java, and even implemented some concurrency primitives like semaphores, Clojure was incredible to use. For those that don't know, Clojure uses immutable data structures that mitigate concurrency issues. If…

  • 呵,我都没觉得那本是相关的参考文献,虽说也说得过去。我当时想的是《Java并发编程》(Concurrent Programming in Java),毕竟是权威一手资料,但这本也有将近 400 页。平时工作时我甚至都不太愿意在并发设计上动太多脑筋,有时还觉得挺心虚的。偶尔我会……

    Heh, I wasn't even thinking of that one as the relevant reference, though it's valid. I was thinking of "Concurrent Programming in Java" as it comes from the horse's mouth, but that one is also close to 400 pages. I don't even try to think about concurrent designs too much at work and sometimes feel guilty about it. Occasionally I'll…

  • 你在什么时候会觉得复用 promise 很有用?我知道一个经典例子是《Java并发编程》(Concurrent Programming in Java)里的可加载 hashmap,但我很好奇你是否还知道其他例子。

    When do you find reusing a promise useful? I know one canonical example is a loadable hashmap as in Concurrent Programming in Java, but I was curious if you knew of other examples.

正在加载完整评论……

键盘快捷键

/
聚焦搜索框
j / k
下一本 / 上一本
Enter
打开选中的书
Esc
关闭 / 返回
g h
回到首页
g b
值得读精选
g t
历史总榜
g r
上升最快
g l
我的书架
?
显示本帮助