[Haskell-cafe] Re: A suggestion for the next high profile Haskell project

Tomasz Zielonka tomasz.zielonka at gmail.com
Mon Dec 18 18:28:47 EST 2006


On Tue, Dec 19, 2006 at 12:26:29AM +0100, ls-haskell-developer-2006 at m-e-leypold.de wrote:
> > You could just mlock() everything allocated by the RTS...
> 
> Brute force. :-)

I would call it simplicity ;-)

This way you are also guarding yourself against inadvertenty leaking
clues about the key to non mlock'ed memory (cause everything is
mlock'ed).

Of course, the question is: how much memory will the program use.

> Certainly the most simple way to do it. But is that option already
> here (say in ghc), or would one have to patch the runtime for that?

That's nitpicking :-)

Best regards
Tomasz


More information about the Haskell-Cafe mailing list