The need for Clojure
It is a need usually provoked after experiencing an emotional conclusion to a difficult life event, such as the breakdown of a close interpersonal relationship [or an unreliable concurrent program,...
View ArticleOne aspect of lazy computation
I’ve often needed to do a combination of filtering and mapping on arrays. E.g. in a Ruby on Rails app, I might have a list of “RecurringActivation” model objects which have a product_id and an integer...
View ArticleJAOO 2009 discount (for Clojure users ;-)
I suggested to the JAOO program committee that the JAOO Aarhus 2009 conference should have a concurrency track. Their reply was “that’s a good idea – you are hosting it!” – this is how Trifork works...
View ArticleClojure talks in Copenhagen and Aarhus – now with Azul Systems Clojure demo
Upcoming events: I am giving a talk on Clojure in Copenhagen and Aarhus – this is the first chance for a dcug meetup (though also non-dcug members are invited). The events are after work and free –...
View ArticleUnderstanding Clojure’s PersistentHashMap (deftwice…)
[sept. 8th, 21:22: fixed a +/- 1 error] In a previous post, I gave a high-level description of how Clojure’s PersistentVector is implemented. While the code has changed, the description was high-level...
View ArticleThe Joy of Clojure
In case you haven’t noticed there is a very interesting Clojure book coming out, titled “The Joy of Clojure,” written by two very interesting authors that anyone hanging out in the Clojure community...
View ArticleCircuit Breaker: a small but real-life example of Clojure protocols and datatype
(Update July 2nd 2010: I’ve cleaned up the code and git repo. Inlined the protocol function definitions in the state records for native-platform speed. The policy can now specify which exceptions...
View Articleclj-ds: Clojure’s persistent data structures for Java
One of the appealing features of Clojure is the pervasive use of (efficient!) persistent data structures. (In previous posts I’ve shed some light on how PersistentHashMap and PersistentVector are...
View ArticleConj-labs Clojure lessons part i
I attended the first conj-labs in Brussels, June 23-25. It was three days of intense Clojure learning with Clojure profiles: Christophe Grand and Lau Jensen. I must say it exceeded my expectations!...
View Article