Skip to content
0:00 / 0:00

#clojure#concurrency#softwaretransactionalmemory

Clojure Concurrency - Rich Hickey

ClojureTV

111K subscribers • 158 videos on Hallway

YouTube
  • Recommended by 6 people: 5 on Hacker News and 1 curated list.
  • A classic. People kept recommending it from 2013 to 2023.
  • Presented by Rich Hickey
  • An opinion. It argues one side of a question engineers disagree on.

Intermediate. Assumes working knowledge.

72K views13 years ago6 recommendations

Programming languagesSoftware designLisp and ClojureConcurrency and parallelismFunctional programming

Rich Hickey explains the problems with traditional lock-based concurrency and demonstrates Clojure's approach using immutability, software transactional memory, and agents.

A presentation by Rich Hickey to the Western Mass. Developers Group on Clojure and concurrency. Brief overview of Clojure, discussion of concurrency issues, locking, and immutabiity. In-depth look at Clojure's refs, transactions and agents. Demonstration and review of code for a multithreaded ant colony simulation.Be sure to grab the slides and code in order to follow along.Thanks to Shawn Fumo for working on this video.

Why it's here

6 people recommend this

What people say. Engineers recommend this talk for its clear explanation of traditional concurrency issues and its demonstration of Clojure's persistent data structures and STM.

Moments people linked to

dominotwon Hacker News • Recommends

On “Optimising for Concurrency: Comparing the BEAM and JVM virtual machines”

I started to write a response but remembered rich hickey talk I went to where he lays out problems with java style concurrency Clojure Concurrency - Rich Hickey link to this video Even though the talk is called clojure concurrency, first half of the talk is about the problems clojure solving in traditional concurrency. one my favorite talks I ever went to.

cmiles74on Hacker News • Recommends

On “(Next Rich)”

Rich presented Clojure to our local software development group in 2008, I've been working with Clojure (both as a hobbyist and eventually professionally) ever since. link to this video At that time I had been working with Java for years, both the conciseness of the code and the interactivity were flat-out amazing to me. It's saved me time and made me 100 times more productive. Congratulations to Rich, I am also extremely grateful for his work!

programming-talkscurated list on GitHubRecommends

Under “Clojure”

Clojure Concurrency 02:32:39 by **Rich Hickey** (2012)

bachbackon Hacker News • Recommends

On “Why bother learning Clojure?”

I like Rich talks and his main point for his invention seems to be: to get concurrency right. Clojure Concurrency link to this video

jwron Hacker News • Recommends

On “Why Johnny Can’t Write Multithreaded Programs”

…d pretty impressive. I do agree that you need to understand what is happening — but I disagree with your assumption that the basic tools are all on the same level. They are not, which Clojure clearly demonstrates. I won't go into details, because Rich Hickey explains it much, much better than I ever will be able to — here's an example of his talk: link to this video…

cellularmitosison Hacker News • Recommends

On “REBL”

> I have yet to encounter a single problem that is solved more elegantly in Clojure than the equivalent Pythonic solution. A good place to start would be implementing Rich Hickey’s ant colony demo in both Python and Clojure. link to this video

u/harbinger0x57in r/Clojure • Mentions

On “Can someone please explain what makes Clojure a special language for concurrency?”

There's a good talk by the creator of Clojure giving an overview of the concurrency support built into the language: link to this video

fiatmoneyon Hacker News • Mentions

On “A Worst Case for Functional Programming?”

…new, valid object as a result of a computation) and give you a somewhat easier route to refactor while maintaining the same semantics (because there are no rogue mutations or global state updates I need to conform to), as well as parallelizing updates to the object graph for performance. Clojure's semi-famous "ants" demo is a good example of this. link to this video link…

iofjon Hacker News • Mentions

On “Immutable-cpp: persistent immutable data structures for C++”

…o the system's memory capacity (scanning for holes in a long list) but don't go over it, and then O(oh fuck it let's just reboot this bloody BOAT ANCHOR) when crossing that line). Clojure is famous for having good persistent data structures. Rich Hickey went touring academia touting the benefits of immutable/persistent/functional data structures : link to this video There's also a famous book: link…

nmgon Hacker News • Mentions

On “A Library of Parallel Algorithms”

In the talk "Clojure Concurrency" 1, Rich Hickey demands that everyone in the room read "Java Concurrency in Practice" 2. "It will scare the crap out of you." 1 link to this video 2 link

harrision Hacker News • Mentions

On “Orb Farm”

This is maybe a bit too specific to Clojure and more generally about concurrency in it, but Rich Hickey introduced Clojure with an ant simulation demonstration. The video quality is not great, but there's an article (sadly not up anymore, but on the way back machine): link Video directly: link to this video

u/GetContentedin r/haskell • Mentions

On “Arguments in favour of the immutable operations intuitions”

…idled use of state, and the implicit unrestricted allowance of its use. This usually always happens when projects become slightly bigger than toy examples, or when concurrency is involved. Take a look at Rich Hickey's comments on Java if you'd like, he's quite verbal about how much pain he's invested in trying to write "correct" programs in Java. link to this video His (and obviously Clojure's) argument is for immutable data, and both Clojure and Haskell have STM which make these things much easier to reason about. Another example is SQL. That's a declarative language that would completely suck if it was imperative. I know it's not a "proper" programming language, but it *is* a good example... peopl…
2View on Reddit

u/mmosbeforehoesin r/Clojure • Mentions

On “Great Clojure source codes to read?”

Rich Hickey's Ant simulation. Great demonstration of concurrency in Clojure. Code Related Rich Hickey Talk Slides (pdf)