2009/04/01

AO bench in Haskell

AO bench (Ambient Occlusion benchmark) is a test program for any computer languages. It is simple algorithm, and get nifty image.I wrote AO bench in Haskell. First, I translated from C source, and got worked. But it was not good at all. It's not Haskell way. Haskell program must be clean, easy to read, and compact.I refactor it, so bit suit for Haskell way. But then, it got more slowly. Maybe I make anything to leak of memory. Please help me, and make Haskell fastest in all of the languages!