Vision document for H1 2017

Chris Wright via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Thu Jan 12 21:33:07 PST 2017


On Thu, 12 Jan 2017 20:02:38 -0800, Jonathan M Davis via
Digitalmars-d-announce wrote:
> I don't see how it possibly could given how dynamic arrays work in D. It
> would have to have some sort of reference counting mechanism, which
> would likely be a nightmare with slicing

On that topic, D's arrays would play nicer with both refcounting *and* 
modern garbage collectors if they were structured as base, offset, length 
instead of start, length. You could put metadata just before the start of 
the array, including the reference count.


More information about the Digitalmars-d-announce mailing list