[Haskell] memory management

Gwern Branwen gwern0 at gmail.com
Tue Aug 4 07:39:45 EDT 2009


On Tue, Aug 4, 2009 at 7:30 AM, Sam Martin<sam.martin at geomerics.com> wrote:
> I can picture similar situations arising in Haskell where for suitable
> expressions the compiler could in theory determine that garbage
> collection would be unnecessary for a lump of temporary data and simply
> allocate/deallocate when starting/finishing evaluating the thunk. The
> goal being to simplify garbage collection for this kind of temporary
> allocation.
>
> Any thoughts?
>
> Ta,
> Sam

Sounds like region inference to me. (https://secure.wikimedia.org/wikipedia/en/wiki/Region_inference)

-- 
gwern
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
Url : http://www.haskell.org/pipermail/haskell/attachments/20090804/e6b31251/signature.bin


More information about the Haskell mailing list