Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Mutable arrays are not sufficient as they may still be moved to a different location at any time by the garbage collector.

Guess the StorableArray is the one that should work here.



I don't know the specifics but there are some details here about how to allocate such pinned arrays:

http://en.wikibooks.org/wiki/Haskell/Libraries/Arrays#Welcom...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: