2 ms·
Look, people make comments about D without knowing a thing about it. Of course D has RAII -- http://www.d-programming-language.org/memory.html#raii http://www.
by bad_user 15y ago
Look, people make comments about D without knowing a thing about it.
Of course D has RAII -- http://www.d-programming-language.org/memory.html#raii http://www.d-programming-language.org/memory.html#raii
In D you can also do manual deallocation of memory, if predictability is what you want, the difference being that D comes with a garbage-collector from the start and encourages you to use it, which is a lot better than reference-counted pointers or other hacks; but at the same time it is also possible to use D without a GC.