On Thursday, 27 August 2015 at 10:49:02 UTC, John Burton wrote:
Thanks again for the updates. I've experimented some more and believe I understand.To be honest I'm finding it very hard to find the right idioms in D for safe and efficient programming when I'm so used to C++ / RAII everywhere. I'll adapt though :P
There's also std.container.array with deterministic memory usage not reliant on the GC, as an alternative to the built-in arrays.
http://dlang.org/phobos/std_container_array.html