RE: [Haskell] memory management

2009-08-06 Thread Sam Martin
rence an attractive option for these situations? Cheers, Sam -Original Message- From: Simon Peyton-Jones [mailto:simo...@microsoft.com] Sent: 06 August 2009 08:23 To: Simon Marlow; Sam Martin Cc: Colin Runciman; Haskell@haskell.org Subject: RE: [Haskell] memory management Also region

RE: [Haskell] memory management

2009-08-04 Thread Sam Martin
> Sounds like region inference to me. > (https://secure.wikimedia.org/wikipedia/en/wiki/Region_inference) Thanks, yes, that's exactly what I had in mind. Is anything like this is done in GHC? Ta, Sam ___ Haskell mailing list Haskell@haskell.org http

RE: [Haskell] memory management

2009-08-04 Thread Sam Martin
I'm not quite sure how to describe this, but are you aware of any research into converting heap allocations into frames on a stack? For example, many C functions follow this kind of pattern: void doSomeStuff(..) { // allocate required resources int a,b,c; // finite amount of