Posted in haskell, open source on September 30th, 2009 4 Comments »
And has prettier charts, too, thanks to a patch from Tim Docker.
If you already have criterion installed:
$ cabal update
$ cabal install –reinstall criterion
If you want to use criterion on a Mac:
$ cabal update
$ cabal install criterion -f-chart
Alas, on OS X, you’ll lack the ability to directly generate pretty chart images, but criterion will still output [...]
Posted in haskell, open source on September 29th, 2009 28 Comments »
I'm pleased to announce the availability of criterion, a new library for measuring the performance of Haskell code.
Compared to most other benchmarking frameworks (for any programming language, not just Haskell), criterion focuses on being easy to use, informative, and robust.
Here's a canonical benchmark-worthy function, which has the desirable properties of being both small and slow:
-- [...]
Posted in haskell on September 25th, 2009 6 Comments »
I find Lennart Augustsson's Text.Printf module very handy, but also quite baffling.
Here is one example of my bafflement: suppose I want to print a piece of text if my program's verbosity level is above a certain threshold, but not otherwise. I'd like to hide that detail in a function, such that I could just call [...]
Thanks to the tireless work of Malcolm Wallace, all of the video from CUFP now appears to be up up Vimeo, including the keynote talk I gave.
Keynote: Real world Haskell. from Malcolm Wallace on Vimeo.
Posted in haskell, open source, science on September 19th, 2009 5 Comments »
I just released version 0.3.3 of the Haskell statistics library, which contains a very fast pseudo-random number generator.
The generator is an implementation of George Marsaglia’s MWC256 multiply-with-carry PRNG, which has a period of 28222 (for this reason, it’s sometimes referred to as MWC8222). It produces high-quality uniformly distributed pseudo-random numbers extremely quickly.
Here is a brief [...]
Posted in haskell on September 14th, 2009 No Comments »
Malcolm Wallace has very kindly put a lot of work into publishing video footage from all of the talks at last week’s Haskell Implementor’s Workshop. I gave a very brief, and completely unscripted, demo of the benchmarking framework that I’ve been hacking on. This was code that I’d literally gotten working about 45 minutes before [...]
Posted in haskell, open source, science on September 12th, 2009 5 Comments »
A few weeks ago, I decided that I'd like to focus for a while on getting a 1.0 release of the Haskell text library ready. That work has gone fairly well so far. I've focused on making sure that I like the API, and that a few key functions have good performance characteristics.
One such function [...]
Posted in open source, scm on September 10th, 2009 2 Comments »
Several months ago, I wrote an article on evaluating revision control systems. It was initially published in ACM Queue a few weeks ago, and the article has now made its way (unchanged) to Communications of the ACM. I’m quite happy with how it turned out, and I hope that people will find it useful in [...]
Posted in haskell, open source on September 4th, 2009 4 Comments »
I was delighted to be invited to give the keynote talk at this year’s CUFP workshop in Edinburgh. My talk was this morning, and these are the slides I presented.
CUFP 2009 Keynote – Real World HaskellView more documents from Bryan O’Sullivan.
The video should be online some time next week, with any luck, but I hope [...]