Here’s something I bet you never think about, and for good reason: how are floating-point numbers rendered as text strings? This is a surprisingly tough problem, but it’s been regarded as essentially solved since about 1990.Prior to Steele and White’s "How to print floating-point numbers accurately", implementations of printf and similar rendering functions did their [...]
Posted in Uncategorized on August 25th, 2010 1 Comment »
Posted in Uncategorized on March 3rd, 2010 4 Comments »
In my first of this pair of articles, I laid out some of the qualities I've been looking for in a parsing library.Before I dive back into detail, I want to show off some numbers. The new Attoparsec code is fast.What did I benchmark? I captured some real HTTP GET requests from a live public [...]
Posted in haskell, Uncategorized on March 3rd, 2010 3 Comments »
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 [...]
While I’ve been in my corner hacking on low-level Haskell nonsense, apparently someone figured out how to make the internets more better. To wit, a few judiciously curated sources of visual edification: for great justice unhappy hipsters riot right click
Posted in Uncategorized on January 22nd, 2010 3 Comments »
Posted in Uncategorized on January 11th, 2010 5 Comments »
Over the past couple of weeks, I have been working with Johan Tibbell on an event library to use for replacing GHC’s existing I/O manager. The work has been progressing rather nicely: I now have both the epoll and kqueue back ends working, while Johan has been focusing on a fast priority queue data structure [...]
Posted in Uncategorized on December 17th, 2009 9 Comments »
Posted in Uncategorized on December 10th, 2009 5 Comments »