HN 精选

Clojure Concurrency - Rich Hickey

ClojureTV
5 人推荐 · 跨 5 个月 · 2013–2023
函数式编程软件架构与系统设计
Clojure Concurrency - Rich Hickey

中文导读

Rich Hickey 关于 Clojure 与并发编程的深度长篇演讲。从锁机制与不可变性切入,深入拆解了 Refs、软件事务内存(STM)和 Agents 机制,最后以极具说服力的多线程蚁群模拟 Demo 收尾。

为什么 HN 推它

讲透“传统并发为什么这么难”以及 Clojure 优雅解法的教科书级演说,不少工程师坦言这场分享彻底改变了自己的职业生涯。

「我听过的所有现场演讲里,这绝对是最棒的一场之一。」HN 网友原话:one my favorite talks I ever went to.
英文原摘要(HackerTube / Claude 整理)

Rich Hickey's long presentation on Clojure and concurrency covers locking and immutability, then goes in depth on refs, transactions and agents. It ends with a multithreaded ant colony simulation demo.

Seen as the definitive explanation of why traditional concurrency is hard and how Clojure's model addresses it, with some commenters crediting it with changing their careers.

HN 上的提及

rec bachback · 2013-07 · HN 原文
I like Rich talks and his main point for his invention seems to be: to get concurrency right.
rec jwr · 2013-12 · HN 原文
I won't go into details, because Rich Hickey explains it much, much better than I ever will be able to
reference fiatmoney · 2014-01 · HN 原文
Clojure's semi-famous "ants" demo is a good example of this.
reference iofj · 2016-07 · HN 原文
Rich Hickey went touring academia touting the benefits of immutable/persistent/functional data structures
reference nmg · 2017-11 · HN 原文
Rich Hickey demands that everyone in the room read "Java Concurrency in Practice

相关视频