On Wednesday, 28 January 2015 at 07:43:35 UTC, ketmar wrote:
On Wed, 28 Jan 2015 06:58:41 +0000, Tom wrote:
Or is there now the possibility of disabling the GC
altogether, or
replacing it with a refcounting 'GC' etc?
you still can do manual memory management with `malloc()` and
friends.
but you must be very cautious with dynamic arrays and slices.
may be your
best bet is to not use built-in dynamic arrays at all and write
a
replacement class with manual memory management. ah, and the
same for AAs.
There is also bitbucket.org/infognition/dstuff for some other gc
related hacks that may be of use.