www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - What allocators do you want in std.allocator.showcase?

reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
I've put together 
http://erdani.com/d/phobos-prerelease/std_experimental_allocator_showcase.html, 
which is a module containing typical, ready-to-use allocator instantiations.

The basic idea of showcase is to offer allocators that are as easy to 
use as calling a function or using a type - no assembly required.

I've seeded it with a super simple stack front and a mmapped list of 
regions. I have about half a dozen more of usual suspects.

What would you like to see in there?


Andrei
Jun 05 2015
parent reply "rsw0x" <anonymous anonymous.com> writes:
On Saturday, 6 June 2015 at 05:33:24 UTC, Andrei Alexandrescu 
wrote:
 I've put together 
 http://erdani.com/d/phobos-prerelease/std_experimental_allo
ator_showcase.html, 
 which is a module containing typical, ready-to-use allocator 
 instantiations.

 The basic idea of showcase is to offer allocators that are as 
 easy to use as calling a function or using a type - no assembly 
 required.

 I've seeded it with a super simple stack front and a mmapped 
 list of regions. I have about half a dozen more of usual 
 suspects.

 What would you like to see in there?


 Andrei
are there any plans for a reap-based allocator?
Jun 05 2015
parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 6/5/15 11:45 PM, rsw0x wrote:
 are there any plans for a reap-based allocator?
For all: reap means a region with individual object deletion capabilities, see http://people.cs.umass.edu/~emery/pubs/berger-oopsla2002.pdf. Yes, I have a couple of reaps on the list. Any particular allocator on top of the stack you have in mind? Andrei
Jun 06 2015