Posted in open source on February 19th, 2008 3 Comments »
For a little while, I’ve been curious about which of the packages people in the vast wasteland of CPAN actually use and care about. Here’s an attempt to answer that question with fifty popular Perl packages for your entertainment. Before we begin, a brief overview of the column layout. The mean vote from CPAN ratings. [...]
Posted in haskell on February 6th, 2008 6 Comments »
Here’s a simple program I wrote on a whim tonight, to take a very basic look at GHC’s low-level threading performance. module Main where import Control.Applicative import Control.Concurrent.MVar import Control.Concurrent import Data.Time import System.Environment main = do mv <- newEmptyMVar start <- getCurrentTime loop mv =<< read . head <$> getArgs end <- getCurrentTime putStrLn [...]
Posted in haskell on February 6th, 2008 8 Comments »
Applicative functors are gorgeous and versatile creatures, but as is common in Haskell, they lack a little in documentation. The paper that Conor and Ross wrote introducing them is good, but dense. What if we were to skip all the scene-setting kerfuffle, and plunge into using them by example? I won’t attempt to describe what [...]