O'Reilly logo

Seven Concurrency Models in Seven Weeks by Paul Butcher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Day 3: Client-Side CSP

ClojureScript is a version of Clojure that, instead of compiling to Java bytecodes, cross-compiles to JavaScript (see http://clojurescript.com). This means that it’s possible to create a web app in which both the server- and client-side code are written in Clojure.

One of the most compelling reasons to do so is that ClojureScript supports core.async, which brings a number of benefits that we’ll explore today, not the least of which is a remedy to the bane of the JavaScript developer’s life—callback hell.

Concurrency Is a State of Mind

If you’ve done any significant client-side JavaScript programming, you’re probably wondering if I’ve gone mad—browser-based JavaScript engines are single threaded, so what relevance can ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required