[Haskell-cafe] mallocForeignPtrArray with check against buffer overflows

Henning Thielemann lemming at henning-thielemann.de
Fri Apr 27 06:27:15 UTC 2018


On Thu, 26 Apr 2018, David Feuer wrote:

> For debugging, this sounds like overkill to me. Can't you write 
> bounds-checking versions of your primitives that are turned on with some 
> CPP?

I call foreign functions from LAPACK that fill the arrays and I have not 
control over its primitives.


More information about the Haskell-Cafe mailing list