[Haskell-cafe] Question about allocaArray and friends

Patrick Perry patperry at stanford.edu
Thu Jan 22 17:22:21 EST 2009


In C, if you try to "alloca" too much memory, then the stack gets  
overwritten and bad things happen.  Does GHC exhibit the same behavior  
with allocaArray and the like?  Is there a way to find out how much is  
safe to allocate?

Thanks in advance for the help,


Patrick




More information about the Haskell-Cafe mailing list