[Haskell-cafe] GHC 7.0.1 developer challenges
simons at cryp.to
Mon Dec 13 16:45:42 CET 2010
> Why don't you use ulimit for this job?
> $ ulimit -m 32M; ./cpsa
yes, I was thinking the same thing. Relying exclusively on GHC's ability to
limit run-time memory consumption feels like an odd choice for this task.
It's nice that this feature exists in GHC, but it's inherently non-portable
and outside of the scope of the language. There really ought to be a better
way to catch an infinite loop that this.
Just my 2 cents
More information about the Haskell-Cafe