[ANN] Memory mapped files for POSIX and Windows

Don Stewart dons at galois.com
Wed Mar 19 13:18:35 EDT 2008

> Don Stewart <dons <at> galois.com> writes:
> > 
> > Can you talk about the relationship between these two packages?
> I looked at your package very carefully and they are... different :)
> I tried to provide common API for both POSIX and Windows, so it is the
> lowest common denominator approach.
> Your API is read-only, my provides both reading and writing to/from
> Ptrs or ForeignPtrs. ByteStrings are layered on top of this.
> My lazy version can mmap files larger than available address space,
> yours cannot.
> Target audience is of course myself and few others that read files
> about 100MB in size semi-randomly.

Thanks for the info!

Do you think we should merge these packages?

Or are they really for difference use cases -- I wouldn't know when to
use one over the other, currently.

Do your lazy bytestrings support unmapping individiual chunks?
How do you support files larger than the address space?

-- Don

More information about the Libraries mailing list