I think the issue wasn't using functional programming for large image processing, it was using Haskell. OCaml is notoriously fast and strict. Haskell/GHC is... lazy.

Everyone knows that laziness is supposed to be a virtue. In practice, though, I'm one of the people who either can't wrap their heads around it or just find themselves having to fight it from the start.

Should we all switch to OCaml? I wish I had a criteria to determine when to use Haskell and when to use OCaml.

On Jun 21, 2006, at 8:15 AM, minh thu wrote:

Thanks for pointing this out, although I knew that kind of answer via
papers about Pan.
It means I'll have to improve my compiler writing knowlegde :)
mt

2006/6/21, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:

Recently Vo Minh Thu wondered if Haskell (or, I generalize, functional
programming) can be of much use for computer graphics programming.

I'd like to point out a project that experimentally shown that
functional programming is of great help for processing of large raster
images (24-bit PPM files). The paper describing the system has been
accepted for `Science of Computer Programming' and is in press:

--
http://wagerlabs.com/





_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to