[Haskell-cafe] Re: Go Haskell!
Simon Marlow
marlowsd at gmail.com
Fri Nov 28 04:04:27 EST 2008
Manuel M T Chakravarty wrote:
> Claus Reinke:
>> What do those folks working on parallel Haskell arrays think about the
>> sequential Haskell array baseline performance?
>
> You won't like the answer. We are not happy with the existing array
> infrastructure and hence have our own. Roman recently extracted some of
> it as a standalone package:
>
> http://hackage.haskell.org/cgi-bin/hackage-scripts/package/vector
>
> In the longer run, we would like to factor our library into DPH-specific
> code and general-purpose array library that you can use independent of DPH.
So we have two vector libraries, vector and uvector, which have a lot in
common - they are both single-dimension array types that support unboxed
instances and have list-like operations with fusion. They ought to be
unified, really.
The main difference between these libraries and Haskell's arrays is the Ix
class. So perhaps Haskell's arrays should be reimplemented on top of the
low-level vector libraries? The Ix class is the root cause of the problems
with optimising the standard array libraries.
Cheers,
Simon
More information about the Haskell-Cafe
mailing list