JAMES LONG

Tag: csp

Transducers.js: A JavaScript Library for Transformation of Data

September 18, 2014
In this post we study transducers, a new technique from Clojure, for generalizing how we transform data. I have implemented them in JavaScript and released <a href="https://github.com/jlongster/transducers.js">transducers.js</a>, which will radically simplify how you deal with data transformation across all data types.

Taming the Asynchronous Beast with CSP Channels in JavaScript

September 8, 2014
Every piece of software deals with complex control flow mechanisms like callbacks, promises, events, and streams. It turns out using CSP which leverages channels for asynchronous communication vastly reduces the complexity of everything. This has drastic effects not only on server-side code, but also on user interfaces.