On 12/8/13 4:29 AM, Dmitry Olshansky wrote:
08-Dec-2013 13:25, Namespace пишет:
On Sunday, 8 December 2013 at 09:14:44 UTC, Dmitry Olshansky wrote:
08-Dec-2013 02:32, Namespace пишет:
[snip]
And what do you use?
Because it's more D'ish.
There is no such objective quality as being D'ish.
GC.malloc/GC.free are no better then malloc/free in code style,
readability or observable effect.
If you put (arguably by mistake) a scoped member inside a class, the
malloc'd memory will leak but the GC-allocated memory will be ultimately
collected.
Andrei