Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Functional > Re: MLton's GC
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 8 of 18 Topic 2756 of 2841
Post > Topic >>

Re: MLton's GC

by stephen@[EMAIL PROTECTED] (Stephen J. Bevan) Feb 7, 2008 at 04:30 AM

George Neuner <gneuner2/@[EMAIL PROTECTED]
> writes:
>>Try http://www.ravenbrook.com/project/mps.
>
> Great reference.  Thanks!  
>
> Another neat thing to come out of the depths of Harlequin.  I guess
> the question is how well it works and how easily it can be integrated
> into a project that isn't Lisp or ML.  

It was not, as far as I'm aware, used in LispWorks or MLWorks (both
had well tuned GCs before MPS was created) so the question could be
turned around to ask how easily MPS could be used in a project that is
Lisp or ML :-)  Within Harleqin MPS saw most use in Dylan and PostScript.

The API might look a little complicated initially but that's because
it uses the same general API to cover quite different allocation
schemes e.g. manual fixed size, manual variable size, automatic mostly
copying, automatic mark&sweep, ... etc.  All it really boils down to
is initializing it, creating a pool of the desired type (say automatic
mostly copying) and then calling mps_{reserve,commit} to allocate an
object in that pool.

> I see it uses a 5 phase collection to support coordinating pools,
> rather than the 2 or 3 phase collection typical for an integrated
> heap.  I have to wonder what kind of overhead that imposes.

I'm fairly sure Richard and Nick would be happy to talk about the pros
and cons of the design choices.  There is mailing list for just such
topics: mps-questions@[EMAIL PROTECTED]





 18 Posts in Topic:
MLton's GC
Jon Harrop <usenet@[EM  2008-02-04 13:36:30 
Re: MLton's GC
"David B. Benson&quo  2008-02-04 16:31:53 
Re: MLton's GC
Jon Harrop <usenet@[EM  2008-02-05 14:18:29 
Re: MLton's GC
George Neuner <gneuner  2008-02-05 14:55:11 
Re: MLton's GC
Adrian Hey <ahey@[EMAI  2008-02-06 08:05:58 
Re: MLton's GC
stephen@[EMAIL PROTECTED]  2008-02-06 03:56:19 
Re: MLton's GC
George Neuner <gneuner  2008-02-06 13:01:28 
Re: MLton's GC
stephen@[EMAIL PROTECTED]  2008-02-07 04:30:34 
Re: MLton's GC
George Neuner <gneuner  2008-02-07 16:36:01 
Re: MLton's GC
stephen@[EMAIL PROTECTED]  2008-02-08 04:42:01 
Re: MLton's GC
George Neuner <gneuner  2008-02-08 12:33:09 
Re: MLton's GC
stephen@[EMAIL PROTECTED]  2008-02-09 04:15:51 
Re: MLton's GC
George Neuner <gneuner  2008-02-09 16:13:56 
Re: MLton's GC
Jon Harrop <usenet@[EM  2008-02-10 09:59:27 
Re: MLton's GC
stephen@[EMAIL PROTECTED]  2008-02-10 00:55:54 
Re: MLton's GC
George Neuner <gneuner  2008-02-10 02:46:18 
Re: MLton's GC
stephen@[EMAIL PROTECTED]  2008-02-10 01:28:10 
Re: MLton's GC
Philippa Cowderoy <fli  2008-02-09 15:39:34 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri May 16 7:50:15 CDT 2008.