The alias method, or transforming data to increase efficiency (Clojure).

This post is dedicated to describing a wonderful and beautiful small algorithm that is not widely known. It allows to pick a random element among an enumerated distribution of elements, where each element is associated a weight. This need is frequently encountered, for instance in property based testing libraries. In test.check, it correspond to the... Continue Reading →

Clojure High Performance Fibonacci

Having recently finished reading the Clojure programming book named Clojure: High Performance JVM Programming, I found in it quite a bunch of useful information to increase the performance of Clojure (and more generally JVM-based) applications. The book contains many examples of different constructs we can use in Clojure to increase the performance of arithmetic operations.... Continue Reading →

Building a Clojurescript game: AI

This post is the sixth in the series of posts focused on the design and implementation of a port in ClojureScript of the game named Tribolo. You can try the game at the following address. Our first post described the game and identified the following responsibilities, each of them will be developed in a different... Continue Reading →

Building a Clojurescript game: Application state

This post is the sixth in the series of posts focused on the design and implementation of a port in ClojureScript of the game named Tribolo. You can try the game at the following address. Our first post described the game and identified the following responsibilities, each of them will be developed in a different... Continue Reading →

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: