On Wed, 19 Dec 2012 16:58:59 -0600, bearophile <bearophileh...@lycos.com>
wrote:
Benjamin Thaut:
http://sebastiansylvan.wordpress.com/2012/12/01/garbage-collection-thoughts/
It seems a nice blog post. I don't remember what D does regarding
per-thread heaps.
It's been proposed and (sadly) rejected.
Maybe Phobos emplace() is not enough and a bigger/better gun is needed
to safely allocate in-place a higher percentage of class instances.
It would be fairly easy to build a library function(i.e. Scope!T or
InPlace!T) that uses emplace to store a class inside of a wrapper struct.