Clojure Concurrency - Rich Hickey

Channel:ClojureTV · Length:2:32:38 · Published:2012-12-17 · Views:72707

Watch on YouTube

Summary

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.

Why HN recommends it

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.

one my favorite talks I ever went to. — HN, 2020

Functional programming · Software architecture & design

Subtitles (excerpt)

hi welcome uh thank you all for waiting uh my name is Rich hickey and I'm here to talk about uh closure it's Pro programming language I developed to solve a number of problems one of which was how to write concurrent programs easily uh so tonight's talk is going to be sort of a general overview of closure and a specific look at some of the concurrency support uh that's built into the language uh so I'm going to start with a little introduction as I said I'll give you a quick tour of the features but one of the things I really would like to do tonight is look at a piece of software written enclosure and so uh I'd like hopefully if I can move it a good Pace uh get through my slides and sort of the ideas behind uh what I'm going to be showing you and then look at some code and hopefully we'll have more opportunity to look into the syntax of closure and some of its uh features when we're looking at this program uh we'll see some of the things in action um so quick feature tour uh then I'm going to set up sort of the problem space in particular talk about shared State how we do it today how you do it in C Java or C++ um what happens when we get into a multi-threaded cont context and specifically what are some of the current solutions for that in those

On Hacker News

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. [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 … — cmiles74, 2023-08
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 [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. — dominotw, 2020-05
> 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. [VIDEO] — cellularmitosis, 2023-04
> No, no, no. If you are writing multithreaded programs, you _will_ have locks, period. The question is whether you explicitly use them or if they are hidden somewhere in your libraries, frameworks, etc. Actually, the latter are much more difficult to debug. You say that and then proceed to call the article ridiculous. Well, I write and maintain large applications in Clojure. The code uses a mult… — jwr, 2013-12
I like Rich talks and his main point for his invention seems to be: to get concurrency right. Clojure Concurrency [VIDEO] — bachback, 2013-07

Related videos