manual memory management

Walter Bright newshound2 at digitalmars.com
Wed Jan 9 10:38:54 PST 2013


On 1/9/2013 12:28 AM, Mehrdad wrote:
> On Wednesday, 9 January 2013 at 08:14:35 UTC, Walter Bright wrote:
>> On 1/8/2013 11:42 PM, Mehrdad wrote:
>>> (True, it wouldn't give you the power of a systems language, but that's quite
>>> obviouly not my point -- the point is that it's a _perfectly possible_
>>> memory-safe language which we made, so I don't understand Walter's comment about
>>> a GC being "required" for a memory-safe language.)
>>
>>
>> The misunderstanding is you are not considering reference counting as a form
>> of GC. It is.
>
> So you would say that C++ code (which uses reference counting) uses garbage
> collection?

Yes, but it is not memory safe as C++ allows escapes from it.


More information about the Digitalmars-d mailing list