Bluish Coder

Programming Languages, Martials Arts and Computers. The Weblog of Chris Double.

ICFP Programming Contest 2006

Information on the ICFP Programming contest for 2006 are up. It's being held on July 21-24, 2006 and run by Carnegie Mellon University. more →

Factor and The Computer Language Shootout

I implemented one of the Computer Language Shootout benchmarks in Factor to see how it would compare. I wanted to get a gauge of the comparative performance of compiled Factor as well as seeing how the Factor implementations of the algorithms looked. I started with the recursion benchmark. A darcs repository containing the Factor code and the C code for... more →

Generators in Common Lisp

Matthew Swank posted an example of generators using Common Lisp in comp.lang.lisp. His implementation contains a monadic implementation of continuations and call/cc which is quite nice, and the resulting thread has a dicussion on the some implementation variations. A simple example of using the call/cc implementation from later in the thread: ;; Scheme version (call/cc (lambda (k) (k 42))) more →