Subscribe to
Posts
Comments

Archive for the 'software' Category

My goal in working on the new GHC I/O manager has been to get the Haskell network stack into a state where it could be used to attack high-performance and scalable networking problems, domains in which it has historically been weak.While it's encouraging to have an excellent networking stack (Johan and I now have this [...]

Data.Text 0.7 gains I/O support

Earlier this evening, I released a new version of the Haskell text package. This one adds support for I/O, which in previous releases you had to roll by hand. The Data.Text.IO and Data.Text.Lazy.IO modules are the places you'll want to look for details of how to read and write text easily.

The reason for this timing [...]

Wouldn’t it be nice…

…if the world of blogging about software had by now developed some kind of a tradition of critical analysis? Over at Inside Higher Ed, Scott McLemee writes a careful and thoughtful review of Cornel West’s new book. It performs the delicate feat of being at once both generous to its subject and devastating in its analysis: Legend [...]

Dense? Dense, you say?

This evening, Matthew Podwysocki drew my attention to an amusing article over on Phil Trelford's blog, in which people compare various versions of an algorithm for producing left-truncatable primes.

I can't resist a round of golf, and I was of course tempted by Matt Curran's 17-line Haskell entry, so here's the exact same algorithm in 6 [...]

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 or let-floated. [...]
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 API.Many bugs [...]
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 [...]
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: -- [...]

Riddle me this

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.

Next »