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 ...

Get Seven Concurrency Models in Seven Weeks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.