On 4/12/2013 10:56 AM, Steven Schveighoffer wrote:
On Fri, 12 Apr 2013 13:41:57 -0400, Walter Bright <[email protected]>
wrote:

On 4/12/2013 7:05 AM, Manu wrote:
I'll start doing it myself, but I also suggest it be made a policy, and
carefully considered when considering acceptance of ANY new module. That way,
new code that suffers the unpredictable/"surprise!" allocation problems won't be
introduced.

I would also expect that Phobos modules that know the lifetimes of their
allocated data use malloc/free rather than the gc.

I would like a better solution.  Allocating things with malloc/free means no GC
references involved,or clunky addroot/removeroot calls.  That is dangerous to
say the least.

Yes, it takes some engineering work to do it right.

What about dsimcha's region allocator?

Seems like overkill for a small issue.

Reply via email to