On Friday, 1 March 2019 at 08:22:24 UTC, Sebastiaan Koppe wrote:
On Friday, 1 March 2019 at 07:28:06 UTC, Radu wrote:
Dip1000 would make reference counting safe.
Memory management should be handled by reference counting. RC
should delegate malloc, free to an allocator.
I see. Yeah, RC could work. Sure.
Hence my suggestion to implement a typed malloc. Probably an
allocator and memcpy friends that works in betterc without any
C dependencies would worth its own dub package :)
:)
dip1000 is usable right?
yes, dip1000 is usable, albeit poorly documented.