why allocators are not discussed here

Brian Rogoff brogoff at gmail.com
Wed Jun 26 10:52:30 PDT 2013


On Wednesday, 26 June 2013 at 17:25:24 UTC, H. S. Teoh wrote:
> I was listening to Andrei's talk this morning, but I didn't 
> quite
> understand what he means by composable allocators. Is he 
> talking about
> nesting, say, a GC inside a region allocated by a region 
> allocator?

Maybe he was talking about a freelist allocator over a reap, as
described by the HeapLayers project http://heaplayers.org/ in the
paper from 2001 titled 'Composing High-Performance Memory
Allocators'. I'm pretty sure that web site was referenced in the
talk. A few publications there are from Andrei.

I agree that D should support programming without a GC, with
different GCs than the default one, and custom allocators, and
that features which demand a GC will be troublesome.

-- Brian


More information about the Digitalmars-d mailing list