[ANN] Memory mapped files for POSIX and Windows

Don Stewart dons at galois.com
Tue Mar 18 16:55:39 EDT 2008

> Hi all,
> I just uploaded mmap to hackage:
> http://hackage.haskell.org/cgi-bin/hackage-scripts/package/mmap
> The package provides memory mapping abstractions for both POSIX and Windows
> systems like Vista, Linux and Mac OSX. This library provides a wrapper to
> mmap(2) or MapViewOfFile, allowing files or devices to be lazily loaded into
> memory as strict or lazy ByteStrings, ForeignPtrs or even plain Ptrs, using
> the virtual memory subsystem to do on-demand loading. Modifications are also
> supported.

Cool. I spent a fair bit of time last year working on getting good
performance on unix out of lazy bytestrings with individually mapped


Can you talk about the relationship between these two packages?

-- Don

More information about the Libraries mailing list