Archive for the ‘haskell’ Category

Ubuntu 64 Bit and GHCs Garbage Collector

Hi,
Update: I tested a kernel 2.6.31-12 (from kernel.org) and had the same (if not even worse) behaviour as with 2.6.31-19. So, I apologize. It has nothing to do with Ubuntu per se, but probably with the linux-kernel; that makes me wonder if I haven’t done something faulty: that behaviour should have attracted the attention of [...]

Visualizing rising iteration depth in a voltage diffusion model

Using my PASTHA library (more follows soon) to parallelize stencil calculations I wrote a few wrapper scripts for gnuplot and gifsicle to visualize the voltage diffusion for a metal plane for rising iteration depths:

Started hacking on GHC capabilities

Today I’ve started the small personal hacking project of implementing dynamic capatiblities in GHC’s parallel runtime system; I’ll blog about my efforts, problems and solutions and would be grateful for any hints, comments or pointers for more documentation. I began by talking with Simon Marlow and discussing the idea. He said that it’s a least worthwhile [...]

GHC 6.12 RC1 and Ubuntu 9.10 (Karmic Koala)

I’m excited about GHC 6.12 and hope it is released soon. Currently I have some problems with Ubuntu 9.10 and its Linux kernel 2.6.31-14. It seems that GHC 6.12 will solve (some) of my problems.
For the examplary unoptimized code

– Compile with ghc-6.10.4 -O2 -threaded –make Example.hs -o example
module Main where
import GHC.Conc
import Control.Concurrent
import Control.Monad
import System.Environment
import Data.List
————————————————————
main [...]