Posted in haskell, open source on September 2nd, 2010 3 Comments »
I just published the base64-bytestring library, which fills a surprising gap in Haskell's library coverage by adding support for base64 encoding and decoding of the ByteString type. The library is written in pure Haskell, and it's fast: 250 MB/sec encoding 200 MB/sec strict decoding (per RFC 4648) 100 MB/sec lenient decoding The above numbers compares [...]
Posted in haskell, open source on September 1st, 2010 5 Comments »
After several months of work, I'm pleased to announce the release of version 0.8.0.0 of the Haskell text library, which provides fast Unicode support with a pleasing API. Compared to previous versions, this has the following major changes: Improved performance. Some common functions, including support for Unicode I/O, are up to 3x faster than before. [...]
Posted in haskell, open source on June 14th, 2010 2 Comments »
After a few months of blissfully doing precious little hacking in our spare time, Johan and I have returned to work on the new event manager for GHC. I spent the past few days writing a paper about the motivation, design, and internals of the new event manager, which I submitted to this year’s Haskell [...]
Posted in haskell, open source on November 6th, 2009 2 Comments »
I’m pleased to announce the availability of version 0.2 of my criterion library for Haskell performance evaluation. Compared to version 0.1, this version has some significant changes. The benchmarking API has been improved! If you’re benchmarking a pure function, you no longer need to feed it an Int to ensure that it won’t get thunked [...]
Posted in haskell, open source on October 9th, 2009 4 Comments »
I'm pleased to announce the availability of version 0.5 of text, a library that provides fast Unicode text handling for Haskell. This version contains numerous changes compared to version 0.4, in three broad categories: I made improvements to the performance of some common functions by, in many cases, more than 10x.I have substantially refined the [...]
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 [...]
Posted in haskell, open source on September 29th, 2009 32 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 [...]
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 [...]
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 [...]