Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Clojure Core.async

Strange Loop Conference via YouTube

Overview

Explore the design and implementation of Clojure's core.async library in this 44-minute conference talk by Rich Hickey at Strange Loop 2013. Delve into the motivations behind introducing queue-like channels for component communication in software systems. Learn how core.async facilitates independent threads of activity, supports real threads and thread pools, and builds upon CSP concepts. Discover the library's objectives, including its compatibility with ClojureScript on JS engines. Examine the channel API, buffers, timeouts, and how core.async compares to Go's concurrency model. Gain insights into the benefits of this architectural approach, such as improved system manageability, monitoring, and resource utilization. Follow along as Hickey, the creator of Clojure, demonstrates code examples and explains what developers can expect when using core.async in their projects.

Syllabus

Intro
Problems
Premise
Thread overheads
Events/Callbacks
Call Chains as Machines
C# Style Async
Copying C# Async
Queues/channels!
CSP
The Challenge
core.async
Threads and Blocking
Channel API
Buffers
Timeouts
Like Go, but...
The Final Frontier
Code
What You Get

Taught by

Strange Loop Conference

Reviews

Start your review of Clojure Core.async

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.